Provide explicit time checking for age of persistent DCBs.

This commit is contained in:
counterpoint
2015-06-03 16:47:02 +01:00
parent fe2f8e70d1
commit e395ab1442
3 changed files with 8 additions and 2 deletions

View File

@ -251,6 +251,7 @@ typedef struct dcb {
unsigned int dcb_server_status; /*< the server role indicator from SERVER */
struct dcb *next; /**< Next DCB in the chain of allocated DCB's */
struct dcb *nextpersistent; /**< Next DCB in the persistent pool for SERVER */
time_t persistentstart; /**< Time when DCB placed in persistent pool */
struct service *service; /**< The related service */
void *data; /**< Specific client data */
DCBMM memdata; /**< The data related to DCB memory management */