Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objects being aggressively reaped with 'undefined' timeouts #6

Closed
rslifka opened this issue Jan 17, 2011 · 1 comment
Closed

Objects being aggressively reaped with 'undefined' timeouts #6

rslifka opened this issue Jan 17, 2011 · 1 comment

Comments

@rslifka
Copy link

rslifka commented Jan 17, 2011

We're noticing connections getting reaped aggressively with this message:

pool test_pool - removeIdle() destroying obj - now:1295293476740 timeout:undefined
pool test_pool - removeIdle() destroying obj - now:1295293476740 timeout:undefined
pool test_pool - removeIdle() destroying obj - now:1295293476740 timeout:undefined

Does the order of these lines need to be transposed?

availableObjects.push(obj);
objectTimeout[obj] = (new Date().getTime() + idleTimeoutMillis);

Rob

@coopernurse
Copy link
Owner

Yes, I think those two lines should be reversed -- that makes sense. I'll commit that now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants