laba 5 mark 4

This commit is contained in:
2026-11-10 14:47:33 +03:00
parent 276dbdad8a
commit 5ca6b6f7ad
75 changed files with 7466 additions and 36 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()