# HG changeset patch # User Mads Kiilerich # Date 2020-04-22 19:23:05 # Node ID 90dd59c2a76ac90497885cbc6436d95cca8d7c14 # Parent bee01ae374a2ab8f7c6ad52c0fe9875deb009f78 uwsgi: enable reload-on-exception in configuration template In case of severe failures in the stack (not handled by TG), it will thus report "monitored exception detected, respawning worker ...". diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -137,6 +137,7 @@ vacuum = true ; single-interpreter = true die-on-term = true ; Shutdown when receiving SIGTERM (default is respawn) need-app = true ; Exit early if no app can be loaded. +reload-on-exception = true ; Don't assume that the application worker can process more requests after a severe error %endif <%text>## middleware for hosting the WSGI application under a URL prefix