You should revise the code that executes more than one query method at a time: [Chaining Queries](https://github.com/vitaly-t/pg-promise/wiki/chaining-queries). Otherwise, the connections are not used efficiently, and will create a slow-down under heavy load.
You should revise the code that executes more than one query method at a time: Chaining Queries.
Otherwise, the connections are not used efficiently, and will create a slow-down under heavy load.