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 deletion
—
download
Diffstat
Diff options
+1/-1
M website.service
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
|