Commit Graph

35 Commits

Author SHA1 Message Date
evanpelle 2c9fc7307e fix config circular dependency (#296) 2025-03-19 15:42:47 -07:00
evanpelle 6499569240 add winston logger (#289) 2025-03-18 14:36:30 -07:00
evanpelle bd2c270ba3 fixed inverted check for game start (#288) 2025-03-18 14:18:18 -07:00
Evan 5188792cf4 delete public lobby when greater than or equal. this was causing the lobby to overfill when 2 clients joined within 250ms 2025-03-18 12:04:09 -07:00
Evan b20b6a6ba7 Merge branch 'main' of github.com:openfrontio/OpenFrontIO 2025-03-18 09:57:31 -07:00
Evan 388aafbbf5 add more aggressive headers to prevent caching the root. 2025-03-18 09:57:28 -07:00
evanpelle 70e348c94b Export prometheus metrics (#286) 2025-03-18 09:00:05 -07:00
Evan 8cd8d5bf60 add Britannia, reduce world & europe frequency 2025-03-15 18:24:26 -07:00
Evan 364387578b fix lobby duration at 60s now that we limit lobby size. remove "high traffic time" 2025-03-15 17:22:15 -07:00
Ilan Schemoul b9dad022fc fix timer (#239)
- **improve and fix dynamic lobby**
- **Revert "Change BorderTiles from Array to Set (#230)"**

I'm obviously forced to include the revert patch otherwise I can't
compile. but you should first merge PR dedicated to revert before tthis
2025-03-13 17:03:38 -07:00
Ilan Schemoul 07ad7912bc feat: timer starts if enough player or enough time (#229)
Avoid these huge lobbies
2025-03-12 14:18:34 -07:00
evanpelle ea628570b2 have nginx cache index for 1s. (#224)
This is required for A B deployments, the browser wasn't updating due to
conditional caches
2025-03-12 11:03:28 -07:00
Evan 2b8cc2cf28 add mars map to rotation 2025-03-07 21:43:32 -08:00
BeGj 619891741f linting 2025-03-07 16:53:10 +00:00
Evan 56e84c3679 copy .env file to instance 2025-03-06 20:49:59 -08:00
Evan edcfac2fe7 give public lobbies smoother countdown, use admin token in server. 2025-03-06 19:43:56 -08:00
Evan fc73ed46cb remove oceania from map rotation 2025-03-06 16:16:41 -08:00
Evan 4c8eeb0cc1 merge branch v0.17.3 2025-03-06 15:46:57 -08:00
Evan 1a9176779f remove no cache from /api/env 2025-03-06 10:46:23 -08:00
Evan dacd9607e4 update ttl, use file based hashing to prevent stale data. 2025-03-05 20:14:49 -08:00
Evan 3a0bc594ae use api prefix 2025-03-05 18:04:22 -08:00
Evan 1a0729a427 move out -> static 2025-03-05 13:24:54 -08:00
Evan 2b26cfbbc9 update aws deployment, have client get env from server 2025-03-05 12:37:37 -08:00
Evan 6a22d58281 use admin key token for admin auth 2025-03-04 08:43:17 -08:00
Evan 74ce3b3187 Update to Gatekeeper 2025-03-02 09:39:54 -08:00
Evan 10873baf74 bugfix: use gameCreationRate to schedule games 2025-03-02 09:39:54 -08:00
Evan bad74a0488 schedule game duration based on time of day 2025-03-02 09:39:54 -08:00
Evan 3b492df56b set trust proxy to 3 2025-03-02 09:39:54 -08:00
Evan 38365fd9d0 configure nginx to run in container 2025-03-02 09:39:36 -08:00
Evan a029b4277f use node cluster to shard server 2025-03-02 09:39:09 -08:00
Evan a8014e4fb4 bugfix: use gameCreationRate to schedule games 2025-03-01 21:03:48 -08:00
Evan a3ae44ddb1 schedule game duration based on time of day 2025-03-01 21:03:21 -08:00
Evan 6496c2b5b7 set trust proxy to 3 2025-03-01 09:42:25 -08:00
Evan f540d0302c configure nginx to run in container 2025-02-27 19:21:18 -08:00
Evan 3494c54906 use node cluster to shard server 2025-02-27 10:45:30 -08:00