reduce queue timer

Fixes #13.
This commit is contained in:
Branden J Brown 2024-02-03 22:40:56 -06:00
parent 61b6893ec4
commit 5c37d6cd6f
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ func (s *Server) Queue(w http.ResponseWriter, r *http.Request) {
func (s *Server) joinAndServe(p person) {
slog.Debug("joining", "player", p.id)
ctx, stop := context.WithTimeoutCause(context.Background(), 10*time.Minute, errQueueEmpty)
ctx, stop := context.WithTimeoutCause(context.Background(), 3*time.Minute, errQueueEmpty)
ch := make(chan struct{})
go func() {
defer close(ch)