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

fix(Pool): continue iterating when reaching DoubleLinkedList end #243

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

DiegoRBaquero
Copy link
Contributor

After reaching the linked list end and reseting it, we should continue iterating to evict idle resources.

@sandfox
Copy link
Collaborator

sandfox commented Jan 17, 2019

LGMT - That's definitely what it should be doing.

@sandfox sandfox merged commit 1165909 into coopernurse:master Jan 17, 2019
@DiegoRBaquero DiegoRBaquero deleted the patch-2 branch January 17, 2019 19:08
@DiegoRBaquero
Copy link
Contributor Author

Hey @sandfox , thanks for the quick handling. Already using in production (through sequelize v4).

It's now evicting 3 idle connections instead of 1, as supposed, and when they reach their actual idle time, instead of always!

Thanks again! Lmk if you ever need any help with any issues.

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

Successfully merging this pull request may close these issues.

2 participants