minor changes

This commit is contained in:
Maximilian Wagner
2025-12-27 22:52:04 +01:00
parent b65ed45477
commit 2c05415ed1
7 changed files with 160 additions and 42 deletions

View File

@@ -77,7 +77,7 @@ func main() {
// shutdown
// known issue: sse blocks shutdown if a client is still connected
context, cancel := context.WithTimeout(context.Background(), 5*time.Second)
context, cancel := context.WithTimeout(context.Background(), 2*time.Second)
defer cancel()
server.Shutdown(context)
serverSecure.Shutdown(context)