Skip to content

Commit

Permalink
Increase AI timeout by 50%
Browse files Browse the repository at this point in the history
  • Loading branch information
armsnyder committed Oct 27, 2020
1 parent b3b0e72 commit 818e187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/ai.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func doAIPlayerMove(ctx context.Context, board common.Board, player common.Disk,
player: player,
}

ctx2, cancel := context.WithTimeout(ctx, time.Second*2)
ctx2, cancel := context.WithTimeout(ctx, time.Second*3)
defer cancel()

var depth int
Expand Down

0 comments on commit 818e187

Please sign in to comment.