Skip to content

Commit 9a68fd1

Browse files
committed
[python] FastPySGI: Fix bugs
1 parent 01dfa0e commit 9a68fd1

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

frameworks/fastpysgi-asgi/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,5 +305,6 @@ async def app(scope, receive, send):
305305
fastpysgi.server.read_buffer_size = 256*1024
306306
fastpysgi.server.max_content_length = 31_000_000
307307
fastpysgi.server.backlog = 16*1024
308-
fastpysgi.server.loop_timeout = 1000
308+
fastpysgi.server.loop_timeout = 300
309+
fastpysgi.server.loop_call_soon = 0
309310
fastpysgi.run(app, workers = WRK_COUNT, loglevel = 0)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#fastpysgi==0.7
2-
git+https://github.com/remittor/fastpysgi.git@4b4268517a503f51d9e90ecf8a9e47bff79b491f#egg=fastpysgi
2+
git+https://github.com/remittor/fastpysgi.git@131a3dfce3204db1dd7ada6e43c2c2c41c4fef34#egg=fastpysgi
33
orjson==3.11.8
44
asyncpg==0.31.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#fastpysgi==0.7
2-
git+https://github.com/remittor/fastpysgi.git@4b4268517a503f51d9e90ecf8a9e47bff79b491f#egg=fastpysgi
2+
git+https://github.com/remittor/fastpysgi.git@131a3dfce3204db1dd7ada6e43c2c2c41c4fef34#egg=fastpysgi
33
orjson==3.10.15
44
psycopg[binary]==3.2.4
55
psycopg_pool==3.2.6

0 commit comments

Comments
 (0)