Switch to using uvloop and upgrade granian for some ASGI fixes (#9494)

This commit is contained in:
Trenton H authored and GitHub committed 2025-03-25 21:41:29 -07:00
1 parent 5db511afdf
commit 6e694ad9ff
3 files changed
+87 -50

No files matched your search

@@ -14,7 +14,7 @@ if [[ -n "${PAPERLESS_FORCE_SCRIPT_NAME}" ]]; then
fi
if [[ -n "${USER_IS_NON_ROOT}" ]]; then
exec granian --interface asginl --ws "paperless.asgi:application"
exec granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
else
exec s6-setuidgid paperless granian --interface asginl --ws "paperless.asgi:application"
exec s6-setuidgid paperless granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
fi