Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/fastpysgi-asgi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.13-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends git build-essential \
&& rm -rf /var/lib/apt/lists/*
Expand Down
5 changes: 4 additions & 1 deletion frameworks/fastpysgi-asgi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ async def app(scope, receive, send):
# -----------------------------------------------------------------------

if __name__ == "__main__":
import uvloop
import fastpysgi

certfile = os.environ.get("TLS_CERT", "/certs/server.crt")
Expand All @@ -305,5 +306,7 @@ async def app(scope, receive, send):
fastpysgi.server.read_buffer_size = 256*1024
fastpysgi.server.max_content_length = 31_000_000
fastpysgi.server.backlog = 16*1024
fastpysgi.server.loop_timeout = 1
fastpysgi.server.loop_factory = uvloop.new_event_loop
fastpysgi.server.loop_timeout = 300
fastpysgi.server.loop_call_soon = 0
fastpysgi.run(app, workers = WRK_COUNT, loglevel = 0)
1 change: 1 addition & 0 deletions frameworks/fastpysgi-asgi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"enabled": true,
"tests": [
"baseline",
"pipelined",
"limited-conn",
"json",
"json-comp",
Expand Down
5 changes: 3 additions & 2 deletions frameworks/fastpysgi-asgi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#fastpysgi==0.6 # v0.6 is bugged
git+https://github.com/remittor/fastpysgi.git@21095fe037fabb0d324814ccacfff3f4b164128d#egg=fastpysgi
#fastpysgi==0.7
git+https://github.com/remittor/fastpysgi.git@439dbfb6e034812422d7000983552aa560f794b5#egg=fastpysgi
uvloop==0.22.1
orjson==3.11.8
asyncpg==0.31.0
4 changes: 2 additions & 2 deletions frameworks/fastpysgi-wsgi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#fastpysgi==0.6 # v0.6 is bugged
git+https://github.com/remittor/fastpysgi.git@fd71875920d55c03b347ff5b19dc9d93b5983a83#egg=fastpysgi
#fastpysgi==0.7
git+https://github.com/remittor/fastpysgi.git@439dbfb6e034812422d7000983552aa560f794b5#egg=fastpysgi
orjson==3.10.15
psycopg[binary]==3.2.4
psycopg_pool==3.2.6