Commit 4290fa76 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Improve JS runtime authoritative match filtered broadcasts to large sets of users.

parent 4abf684c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
- Allow passing lists of presences as match init parameters to Go runtime matches.
- Fix devconsole counts when database statistics are not available.
- Generate missing username in runtime token generator.
- Improve JS runtime authoritative match filtered broadcasts to large sets of users.

## [3.11.0] - 2022-03-21
### Added
+0 −2
+1 −1
Original line number Diff line number Diff line
@@ -678,7 +678,7 @@ func (rm *RuntimeJavaScriptMatchCore) validateBroadcast(r *goja.Runtime, f goja.
				return nil, nil, false
			}
		} else {
			presenceIDs := rm.presenceList.FilterPresenceIDs(presenceIDs)
			presenceIDs = rm.presenceList.FilterPresenceIDs(presenceIDs)
			if len(presenceIDs) == 0 {
				// None of the target presenceIDs existed in the list of match members.
				return nil, nil, false
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/internal/genopena
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options
github.com/grpc-ecosystem/grpc-gateway/v2/runtime
github.com/grpc-ecosystem/grpc-gateway/v2/utilities
# github.com/heroiclabs/nakama-common v1.22.0
# github.com/heroiclabs/nakama-common v1.22.1-0.20220328201422-bed57ba110d8
## explicit; go 1.14
github.com/heroiclabs/nakama-common/api
github.com/heroiclabs/nakama-common/rtapi