mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 04:44:38 +00:00
Docker TTL (#750)
## Description: - Terminate docker containers in staging subdomains after 24 hours. - Reduce worker count to 2 for these deployments. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors --------- Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,9 @@ export const preprodConfig = new (class extends DefaultServerConfig {
|
||||
return GameEnv.Preprod;
|
||||
}
|
||||
numWorkers(): number {
|
||||
if (process.env.SUBDOMAIN !== "main") {
|
||||
return 2;
|
||||
}
|
||||
return 3;
|
||||
}
|
||||
jwtAudience(): string {
|
||||
|
||||
Reference in New Issue
Block a user