-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Hello, Is there a way for me to close connection with pool manually?
Why
I'm writing a test with wrapper and after finishing test. Jest yells at me about leaking memory because I didn't close connection with pool ( I use real time database to run test ). I wonder if there is a way I can close the connection after test manually?
Alternatives
I tried to create pool with Pool from "pg" then added to rate-limit and and pool.end() after the test but the test was failed because it didn't connect to database.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request