Added session idle time and user name the client is connecting with to the dprintSession and dprintAllSessions functions. Also changed last_read from time_t to unsigned long to match the hkheartbeat.
This commit is contained in:
@ -261,7 +261,7 @@ typedef struct dcb {
|
||||
SPINLOCK polloutlock;
|
||||
int polloutbusy;
|
||||
int writecheck;
|
||||
time_t last_read; /*< Last time the DCB received data */
|
||||
unsigned long last_read; /*< Last time the DCB received data */
|
||||
unsigned int high_water; /**< High water mark */
|
||||
unsigned int low_water; /**< Low water mark */
|
||||
struct server *server; /**< The associated backend server */
|
||||
|
Reference in New Issue
Block a user