Diarkis MatchMaker - How To Remove Searchable Items

How To Remove Items From MatchMaker

The Remove function of MatchMaker is expensive. We recommend relying on TTL or Add as much as you can.

NOTE: This can be written on HTTP, TCP, and/or UDP/RUDP

// match-making definition name to remove items from
matchingName := "levelAndRank"

// Unique ID list of items to be removed
idlist := []string{ roomIDA, roomIDB }

// relayLimit is the number of server nodes to send the data to at a time:
// Greater the value, the faster and more CPU intense it is
relayLimit := 2

matching.Remove(matchingName, idlist, relayLimit)