Skip to content

Commit

Permalink
fix(allocation): maxMatches limit to 35 (#655)
Browse files Browse the repository at this point in the history
Some games might choose to run larger pod resources and increase number
of matches running in each room/instance, thus increasing from 30 to 35.
The limit in the max matches is useful so configuration stays in a sane
number to help in autoscaling and roundings.
  • Loading branch information
hspedro authored Jan 8, 2025
1 parent feb104a commit 5f7ed06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/entities/allocation/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ package allocation
// allocation in the Game Rooms.
type MatchAllocation struct {
// MaxMatches defined the maximum number of matches that a room can host.
MaxMatches int `validate:"required,min=1,max=30"`
MaxMatches int `validate:"required,min=1,max=35"`
}

0 comments on commit 5f7ed06

Please sign in to comment.