Hard-reload on integrity expiring during request;

Implement a way to hard-reload the application when the integrity token expires during a request, or inside its retry loop
This commit is contained in:
DevilXD committed 2022-09-17 18:28:26 +02:00
1 parent f65c0922c2
commit 7d14b51221
4 files changed
+56 -15

No files matched your search

+1
View File
@@ -181,6 +181,7 @@ except Exception:
finally:
signal.signal(signal.SIGINT, signal.SIG_DFL)
signal.signal(signal.SIGTERM, signal.SIG_DFL)
client.print(_("gui", "status", "exiting"))
loop.run_until_complete(client.shutdown())
if not client.gui.close_requested:
client.print(_("status", "terminated"))