mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Use processes instead of threads
This commit is contained in:
parent
cedcc25800
commit
b96c6e59e8
1 changed files with 2 additions and 2 deletions
4
wsgi.md
4
wsgi.md
|
@ -20,7 +20,7 @@ Example **uWSGI** configuration:
|
||||||
```ini
|
```ini
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
http-socket = 127.0.0.1:5232
|
http-socket = 127.0.0.1:5232
|
||||||
threads = 8
|
processes = 8
|
||||||
plugin = python3
|
plugin = python3
|
||||||
module = radicale
|
module = radicale
|
||||||
env = RADICALE_CONFIG=/etc/radicale/config
|
env = RADICALE_CONFIG=/etc/radicale/config
|
||||||
|
@ -29,7 +29,7 @@ env = RADICALE_CONFIG=/etc/radicale/config
|
||||||
Example **Gunicorn** configuration:
|
Example **Gunicorn** configuration:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
gunicorn --bind '127.0.0.1:5232' --threads 8 --env 'RADICALE_CONFIG=/etc/radicale/config' radicale
|
gunicorn --bind '127.0.0.1:5232' --workers 8 --env 'RADICALE_CONFIG=/etc/radicale/config' radicale
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manage user accounts with the WSGI server
|
## Manage user accounts with the WSGI server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue