Commit 4f95134c authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Better handling of matchmaker operations while the interval process is running.

parent 608c6366
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
### Changed
- Improve graceful shutdown of Google IAP receipt processor.
- If In-App Purchases validation contain mismatching userIDs, do not return an error.
- Better handling of matchmaker operations while the interval process is running.

### Fixed
- Consistent validation of override operator in runtime leaderboard record writes.
+192 −187

File changed.

Preview size limit exceeded, changes collapsed.

+1 −3
Original line number Diff line number Diff line
@@ -1716,14 +1716,12 @@ func NewLocalBenchMatchmaker(logger, startupLogger *zap.Logger, config Config, r
		ctx:         ctx,
		ctxCancelFn: ctxCancelFn,

		batch:          bluge.NewBatch(),
		indexWriter:    indexWriter,
		sessionTickets: make(map[string]map[string]struct{}),
		partyTickets:   make(map[string]map[string]struct{}),
		entries:        make(map[string][]*MatchmakerEntry),
		indexes:        make(map[string]*MatchmakerIndex),
		activeIndexes:  make(map[string]*MatchmakerIndex),
		revCache:       make(map[string]map[string]bool),
		revCache:       &MapOf[string, map[string]bool]{},
	}

	if tickerActive {