logger.Fatal("Matchmaker max intervals must be >= 1",zap.Int("matchmaker.max_intervals",config.GetMatchmaker().MaxIntervals))
}
ifconfig.GetMatchmaker().BatchPoolSize<1{
logger.Fatal("Matchmaker batch pool size must be >= 1",zap.Int("matchmaker.batch_pool_size",config.GetMatchmaker().BatchPoolSize))
}
ifconfig.GetMatchmaker().RevThreshold<0{
logger.Fatal("Matchmaker reverse matching threshold must be >= 0",zap.Int("matchmaker.rev_threshold",config.GetMatchmaker().RevThreshold))
}
@@ -983,7 +980,6 @@ type MatchmakerConfig struct {
MaxTicketsint`yaml:"max_tickets" json:"max_tickets" usage:"Maximum number of concurrent matchmaking tickets allowed per session or party. Default 3."`
IntervalSecint`yaml:"interval_sec" json:"interval_sec" usage:"How quickly the matchmaker attempts to form matches, in seconds. Default 15."`
MaxIntervalsint`yaml:"max_intervals" json:"max_intervals" usage:"How many intervals the matchmaker attempts to find matches at the max player count, before allowing min count. Default 2."`
BatchPoolSizeint`yaml:"batch_pool_size" json:"batch_pool_size" usage:"Number of concurrent indexing batches that will be allocated."`