bugfix: use gameCreationRate to schedule games

This commit is contained in:
Evan
2025-03-01 21:02:18 -08:00
parent daa9820c32
commit 10873baf74
+2 -1
View File
@@ -77,7 +77,8 @@ export async function startMaster() {
})
.finally(() => {
// Schedule next run with the current config value
const currentLifetime = config.lobbyLifetime(isHighTrafficTime());
const currentLifetime =
config.gameCreationRate(isHighTrafficTime());
timeoutId = setTimeout(scheduleLobbies, currentLifetime);
});
};