schedule game duration based on time of day

This commit is contained in:
Evan
2025-03-01 21:03:21 -08:00
parent 6496c2b5b7
commit a3ae44ddb1
7 changed files with 70 additions and 33 deletions
+2 -6
View File
@@ -8,12 +8,8 @@ export class DevServerConfig extends DefaultServerConfig {
env(): GameEnv {
return GameEnv.Dev;
}
gameCreationRate(): number {
return 10 * 1000;
}
lobbyLifetime(): number {
return 10 * 1000;
gameCreationRate(highTraffic: boolean): number {
return 5 * 1000;
}
discordRedirectURI(): string {