You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've experienced a weird issue where sometime my application stops reacting to anything after a new request.
I've mapped this issue to the call in lib/pool.js on line 108 that calls conn.isValidSync(1000). With 1000 being the timeout in seconds it seems.
So if for any reason that method fail and waits for the timeout, it will wait 1000s for all connections which is a bit too much.
Would it be possible to bring this down to a few seconds ? Or even better to a configurable delay.
Thanks,
Rouzz
The text was updated successfully, but these errors were encountered:
Hi,
I've experienced a weird issue where sometime my application stops reacting to anything after a new request.
I've mapped this issue to the call in lib/pool.js on line 108 that calls conn.isValidSync(1000). With 1000 being the timeout in seconds it seems.
So if for any reason that method fail and waits for the timeout, it will wait 1000s for all connections which is a bit too much.
Would it be possible to bring this down to a few seconds ? Or even better to a configurable delay.
Thanks,
Rouzz
The text was updated successfully, but these errors were encountered: