chg: auto-restart webservers after 1000 requests

pull/800/head
Raphaël Vinot 2023-10-10 21:32:26 +02:00
parent fe74b543bb
commit 3e4eb572a0
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class Website(AbstractManager):
'--graceful-timeout', '2', '--timeout', '300',
'-b', f'{ip}:{port}',
'--log-level', 'info',
'--max_requests', '1000',
'web:app'],
cwd=website_dir)