Skip to content

Commit 87b6a00

Browse files
committed
fix: reduce granian backpressure
This limits amount of possible database connections.
1 parent 34c5712 commit 87b6a00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/supervisor/conf.d/web.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ command = /app/venv/bin/granian
55
--runtime-mode st
66
--interface wsgi
77
--runtime-threads 4
8+
--backpressure 16
89
--workers %(ENV_WEB_WORKERS)s
910
--uds /run/granian/weblate.socket
1011
weblate.wsgi:application

0 commit comments

Comments
 (0)