Fix mismatch of int sizes; move calculation of maximum size of persistent pool to a better location.

This commit is contained in:
counterpoint
2015-07-09 08:37:20 +01:00
parent bccf3d27d6
commit 8376bbf3e6
3 changed files with 3 additions and 4 deletions

View File

@ -104,7 +104,7 @@ typedef struct server {
SPINLOCK persistlock; /**< Lock for adjusting the persistent connections list */
long persistpoolmax; /**< Maximum size of persistent connections pool */
long persistmaxtime; /**< Maximum number of seconds connection can live */
long persistmax; /**< Maximum pool size actually achieved since startup */
int persistmax; /**< Maximum pool size actually achieved since startup */
#if defined(SS_DEBUG)
skygw_chk_t server_chk_tail;
#endif