Instanssi / Instanssi.org

Website source
http://instanssi.org/
MIT License
7 stars 7 forks source link

Postgres connection pooling #291

Closed katajakasa closed 7 months ago

katajakasa commented 7 months ago

Currently we have no limit in connection count, and if we run in ASGI mode, we can overflow postgres server connection limit -> 503 responses for everything.

Find ASGI compatible postgres pool for django, OR use postgres-drivers own, OR use some external pooling server.

katajakasa commented 7 months ago

Looks like this got done by django @ https://github.com/django/django/commit/fad334e1a9b54ea1acb8cce02a25934c5acfe99f

Now we just wait for the next version.