restart uwsgi workers after a while to free up memory
This commit is contained in:
parent
8594332784
commit
0737766a47
|
@ -10,3 +10,5 @@ socket = /app/tacticalrmm.sock
|
|||
# clear environment on exit
|
||||
vacuum = true
|
||||
die-on-term = true
|
||||
max-requests = 500
|
||||
max-requests-delta = 1000
|
||||
|
|
|
@ -265,6 +265,8 @@ chmod-socket = 660
|
|||
# clear environment on exit
|
||||
vacuum = true
|
||||
die-on-term = true
|
||||
max-requests = 500
|
||||
max-requests-delta = 1000
|
||||
EOF
|
||||
)"
|
||||
echo "${uwsgini}" > /home/${USER}/rmm/api/tacticalrmm/app.ini
|
||||
|
|
Loading…
Reference in New Issue