superfly/litefs

Retry Fly.io environment metadata update on HTTP 429

Closed this issue · 1 comments

The fly.Environment can fail to set the primary status if the state changes too quickly. For example, a node can startup as a "replica" and immediately get promoted to "primary" but this exceeds the rate limit of the API.

Closed via #366