This commit is contained in:
2026-10-13 19:11:11 +03:00
parent 0ab3a341aa
commit 4d877e0120
55 changed files with 4879 additions and 51 deletions
+6
View File
@@ -0,0 +1,6 @@
"""Process lifecycle state shared by the server and request handlers."""
import threading
# Set on the first SIGTERM/SIGINT. While draining, /health/ready answers 503
# and responses carry "Connection: close", but requests are still served.
draining = threading.Event()