Skip to content

Commit

Permalink
Use XXH3 when hashing values for MantisGroups (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
crioux-stripe authored Oct 4, 2024
1 parent c29dfa4 commit d01dbd5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ private <K> LegacyTcpPushServer<KeyValuePair<K, T>> startKeyValueStage(KeyValueS
if (stage instanceof ScalarToGroup || stage instanceof GroupToGroup) {
return PushServers.infiniteStreamLegacyTcpNestedMantisGroup(
config, (Observable) toServe, expiryTimeInSecs, keyEncoder,
HashFunctions.ketama());
HashFunctions.xxh3());
}
// ScalarToKey or KeyTKey
return PushServers.infiniteStreamLegacyTcpNestedGroupedObservable(
config, (Observable) toServe, expiryTimeInSecs, keyEncoder,
HashFunctions.ketama());
HashFunctions.xxh3());
}

private boolean useSpsc() {
Expand Down

0 comments on commit d01dbd5

Please sign in to comment.