From 89f2dbb362df46ce3867db6c7548af703d644063 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:01:37 -0700 Subject: [PATCH] Use uvloop --- scripts/paperless-webserver.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/paperless-webserver.service b/scripts/paperless-webserver.service index 9582d2980..f48bab537 100644 --- a/scripts/paperless-webserver.service +++ b/scripts/paperless-webserver.service @@ -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