feat(tournament): seed external server registry from env var on startup
Build & Test (NowChessSystems) TeamCity build was queued
Build & Test (NowChessSystems) TeamCity build was queued
TOURNAMENT_EXTERNAL_SERVERS (comma-separated URLs) is loaded into TournamentServerRegistry at startup so the bot can park on all servers and replication targets are known without manual API calls after each restart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,7 @@ nowchess:
|
||||
secret: ${INTERNAL_SECRET:123abc}
|
||||
tournament:
|
||||
self-url: ""
|
||||
external-servers: ""
|
||||
|
||||
mp:
|
||||
jwt:
|
||||
@@ -51,6 +52,7 @@ mp:
|
||||
nowchess:
|
||||
tournament:
|
||||
self-url: ${TOURNAMENT_SELF_URL:}
|
||||
external-servers: ${TOURNAMENT_EXTERNAL_SERVERS:}
|
||||
|
||||
"%test":
|
||||
quarkus:
|
||||
|
||||
Reference in New Issue
Block a user