Use uvloop

This commit is contained in:
shamoon 2025-03-18 21:01:37 -07:00
parent 730e07accd
commit 89f2dbb362
No known key found for this signature in database

View File

@ -23,7 +23,7 @@ ExecStart=/bin/sh -c '\
[ -n "$PAPERLESS_WEBSERVER_WORKERS" ] && export GRANIAN_WORKERS=$PAPERLESS_WEBSERVER_WORKERS; \
# URL path prefix: only set if PAPERLESS_FORCE_SCRIPT_NAME exists \
[ -n "$PAPERLESS_FORCE_SCRIPT_NAME" ] && export GRANIAN_URL_PATH_PREFIX=$PAPERLESS_FORCE_SCRIPT_NAME; \
exec granian --interface asginl --ws "paperless.asgi:application"'
exec granian --interface asginl --loop uvloop --ws "paperless.asgi:application"'
[Install]
WantedBy=multi-user.target