home » zplus/dokk.org.git
Author zPlus <zplus@peers.community> 2024-11-12 07:39:02
Committer zPlus <zplus@peers.community> 2024-11-12 07:39:02
Commit 91213d6 (patch)
Tree 52f6b13
Parent(s)

Add Gunicorn --workers and -threads arguments to SystemD service file, for handling parallel requests.


commits diff: b6c1cbf..91213d6
1 file changed, 1 insertion, 1 deletiondownload


Diffstat
-rw-r--r-- website.service 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+1/-1 M   website.service
index 5c52480..fe7eb26
old size: 610B - new size: 634B
@@ -14,7 +14,7 @@ After=network.target
14 14 # URI to Fuseki endpoint for querying
15 15 Environment=FUSEKI_ENDPOINT=https://example.org:3030/dokk
16 16
17 - ExecStart=/home/fuseki/dokk.org/venv/bin/gunicorn --bind localhost:8080 app:application
17 + ExecStart=/home/fuseki/dokk.org/venv/bin/gunicorn --workers 2 --threads 4 --bind localhost:8080 app:application
18 18
19 19 User=fuseki
20 20 Group=fuseki