Fix unified delay

This commit is contained in:
Shtorm
2026-08-11 23:31:13 +03:00
parent f74146648e
commit 4926a0cb91
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ func getGroupDelay(server *Server) func(w http.ResponseWriter, r *http.Request)
return
}
ctx, cancel := context.WithTimeout(r.Context(), time.Millisecond*time.Duration(timeout))
ctx, cancel := context.WithTimeout(server.ctx, time.Millisecond*time.Duration(timeout))
defer cancel()
var result map[string]uint16