Skip to content

Commit

Permalink
Set max duration per move to 60 seconds
Browse files Browse the repository at this point in the history
120 was used for testing. 120 seconds is also the keep alive time duration when disconnection is detected so it's best to not keep both values the same.
  • Loading branch information
AmanAgnihotri committed Apr 15, 2024
1 parent 562638e commit 6c025f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/game/play/create/api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
bufferSize = 2
maxDurationPerMove = 120 * time.Second
maxDurationPerMove = 60 * time.Second
)

type Handler interface {
Expand Down

0 comments on commit 6c025f5

Please sign in to comment.