Skip to content

Commit

Permalink
📝 improve log message
Browse files Browse the repository at this point in the history
  • Loading branch information
spacetourist committed Mar 28, 2024
1 parent e4dfe7a commit 74d2a3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions modules/load_balancer/lb_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ struct lb_resource_map {
struct lb_resource *resource;
unsigned int max_load;

unsigned int max_sessions; /* Raw data from HEARTBEART */
unsigned int current_sessions; /* Raw data from HEARTBEART */
float cpu_idle; /* Raw data from HEARTBEART */
/* data received in last heartbeat */
unsigned int max_sessions;
unsigned int current_sessions;
float cpu_idle;

unsigned int sessions_since_last_heartbeat; /* Count of sessions allocated since last FS heartbeat */
/* count of sessions allocated since last FS heartbeat */
unsigned int sessions_since_last_heartbeat;

int fs_enabled;
};
Expand Down

0 comments on commit 74d2a3c

Please sign in to comment.