Перенести реализацию лабораторной 5 в лабораторную 6

This commit is contained in:
2026-11-21 11:35:52 +03:00
parent 470d9d6f1e
commit 36d84eaf44
53 changed files with 6420 additions and 29 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()