diff --git a/uvicorn/workers.py b/uvicorn/workers.py index 0d6b49bdc..e336000e2 100644 --- a/uvicorn/workers.py +++ b/uvicorn/workers.py @@ -40,6 +40,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: "callback_notify": self.callback_notify, "limit_max_requests": self.max_requests, "forwarded_allow_ips": self.cfg.forwarded_allow_ips, + "timeout_graceful_shutdown": self.cfg.graceful_timeout, } if self.cfg.is_ssl: