Rémy Sanchez
Rémy Sanchez
Woops talked too fast. Last time I tried it failed. But right now it worked. Hooray \o/
Definitely got into that issue was well. Given that there is a specific Django integration in Procrastinate it'd be interesting to have this as part of the default implementation? Something...
In my mind, you'd simply be modifying `procrastinate.contrib.django.apps.create_app` in order to inject a middleware that closes the connections. Obviously I might be missing some important notions, yet my decorator seems...
To get out of the theoretical space, I did a [quick implementation](https://github.com/procrastinate-org/procrastinate/commit/e1453ddb29b20cec6104e789cab1fc176ece591e) of my idea. As far as I'm concerned it is enough to fix the issue, but I'm far...
Okay I see your point. Once the middleware feature is available, it should become easy to implement I guess :)
My `CONN_MAX_AGE` is currently 60, so I'll try to fiddle with that and the new pool feature as well. However well, my decorator does do the trick so far.
Thanks for the feedback, and indeed 600s is already better than 120s :) The way I'm trying to solve this now is by having a flag in DB that is...
@ewjoachim I was thinking something simpler than that, I'll post here the patch. Indeed it's possible in user space, however the appropriate hooks might be helpful @onlyann That's not a...
So we've been struggling with a memory leak for quite some time now, and we are getting quite confident that the issue comes from this in particular. I'm a bit...