Skip to content

Commit 41a830a

Browse files
Add delayed shutdown
1 parent ea5f6e4 commit 41a830a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uvicorn/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def main(
458458
factory=factory,
459459
app_dir=app_dir,
460460
h11_max_incomplete_event_size=h11_max_incomplete_event_size,
461-
shutdown_delay=shutdown_delay
461+
shutdown_delay=shutdown_delay,
462462
)
463463

464464

@@ -563,7 +563,7 @@ def run(
563563
use_colors=use_colors,
564564
factory=factory,
565565
h11_max_incomplete_event_size=h11_max_incomplete_event_size,
566-
shutdown_delay=shutdown_delay
566+
shutdown_delay=shutdown_delay,
567567
)
568568
server = Server(config=config)
569569

0 commit comments

Comments
 (0)