Skip to content

Retry DB inserts on inbox endpoint #3097

@taylordowns2000

Description

@taylordowns2000

Adding basic retry-with-backoff to the /i/ endpoint will take pressure off Lightning instance administrators to maintaining high-availability in their Postgres deployments.

We don't reply to the webhook request until it's in the DB, but nothing's stopping us from trying again if we get a DBConnectionError and delaying that response by up to 60s.

Needs more detail from @stuartc

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions