Disable loop optimizations by default (#86)

This commit is contained in:
Giovanni Barillari 2023-06-15 17:29:27 +02:00
parent 4d874f397f
commit b9f0c43a7b
4 changed files with 7 additions and 7 deletions

View file

@ -20,19 +20,19 @@ def app(name, procs=None, threads=None, thmode=None):
proc = {
"asgi": (
"granian --interface asgi --log-level warning --backlog 2048 "
"--no-ws --http 1 "
"--no-ws --opt --http 1 "
f"--workers {procs} --threads {threads} --threading-mode {thmode} "
"app.asgi:app"
),
"rsgi": (
"granian --interface rsgi --log-level warning --backlog 2048 "
"--no-ws --http 1 "
"--no-ws --opt --http 1 "
f"--workers {procs} --threads {threads} --threading-mode {thmode} "
"app.rsgi:app"
),
"wsgi": (
"granian --interface wsgi --log-level warning --backlog 2048 "
"--no-ws --http 1 "
"--no-ws --opt --http 1 "
f"--workers {procs} --threads {threads} --threading-mode {thmode} "
"app.wsgi:app"
),