Skip to content

Retry initial database connection until it comes up#16

Draft
dongresource wants to merge 2 commits intoyungcomputerchair:mainfrom
dongresource:wait-for-db
Draft

Retry initial database connection until it comes up#16
dongresource wants to merge 2 commits intoyungcomputerchair:mainfrom
dongresource:wait-for-db

Conversation

@dongresource
Copy link
Copy Markdown
Contributor

@dongresource dongresource commented Apr 11, 2026

TODO:

  • Don't hide the full error message (.with_parent(e)) when it's something other than a typical connection failure
  • Add a config value for the retry grace period
  • Check for any race conditions between DB reconnection and player evacuation when a shard-to-DB connection breaks
  • Change log severity from Fatal to Warning (or skip printing the log line, to match Login<->Shard reconnect?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant