Files
mtusi2026lab4/app/drain.py
T

5 lines
151 B
Python

"""Set on SIGTERM: readiness turns 503 so the LB stops routing here while requests are still served."""
import threading
draining = threading.Event()