Conversation
c1ce492 to
507171e
Compare
|
I don't see any problem with the patch, but out of curiosity, have you been able to measure any kind of difference with this patch? How many open connections did you have before/after? |
|
Hmm actually no, I admit I did not monitor the number of connections before and after the patch. I was having max conn exceeded in postgresql and assumed the connection pool was filled on the first http request (because the errors were experienced during live usage of the runbot instances, and never during builds).
I'll try and remove the patch on the OCA runbot see what happens and report back. |
ab648fe to
9bd4838
Compare
when running a very large number of instances, it is a good idea to limit the number of connections in the pool from 64 to a more reasonable value.