1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 11:43:07 +01:00

update pomelo experiment

This commit is contained in:
Puyodead1 2023-12-23 17:11:14 -05:00
parent 2acf80acb6
commit 5c220b4bdf
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE

View File

@ -23,7 +23,6 @@ import { Request, Response, Router } from "express";
const router = Router();
router.get("/", route({}), (req: Request, res: Response) => {
// TODO:
const { uniqueUsernames } = Config.get().general;
const data: Experiments = {
@ -34,8 +33,7 @@ router.get("/", route({}), (req: Request, res: Response) => {
// this enables the pomelo/unique usernames UI in the official clients
if (uniqueUsernames) {
// hash, revision, bucket, override, population, hash_result, as_mode
// bucket 4 is used by the official client, and enables live checking and suggestions, 3 is only live checking
data.assignments.push([2476969328, 0, 4, -1, 0, 9267, 0, 0]);
data.assignments.push([268309827, 0, 1, -1, 7, 8062, 0, 0]);
}
res.send(data);
});