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
and if done() is not called, last call in the script
pg.end()
is not quitting the program.
When done() is inserted, quitting happens, therefore, we conclude that pg.end() is not ending not-done connection(s).
If this is an intended behaviour, please, document it, as not 100% end-y. Otherwise, fix is needed.
On a side, kudos for this sweet package! Really like it.
The text was updated successfully, but these errors were encountered:
pg.end() will terminate the connection pool and shut down all idle clients. You still need to return any checked out clients to the pool for it to be able to safely close them and shut everything down. I"ll document that.
In pure js package (pg.js, "version": "2.11.1"), when there is an established connection with
and if done() is not called, last call in the script
is not quitting the program.
When done() is inserted, quitting happens, therefore, we conclude that pg.end() is not ending not-done connection(s).
If this is an intended behaviour, please, document it, as not 100% end-y. Otherwise, fix is needed.
On a side, kudos for this sweet package! Really like it.
The text was updated successfully, but these errors were encountered: