-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
area: deucalionThis is a change to Deucalion (internal Prometheus service)This is a change to Deucalion (internal Prometheus service)area: tbcThis is a change to TBC (Tiny Bitcoin)This is a change to TBC (Tiny Bitcoin)size: SThis change is small (+/- <80)This change is small (+/- <80)type: bugThis is a bugThis is a bug
Description
Confirmation
- I have checked for similar issues.
Describe the bug
When polling for SyncInfo in tbc using deucalion's /health endpoint, the request will timeout if the database indexers are flushing, locking the database for a prolonged period of time.
Expected behaviour
The /health endpoint should provide a response, regardless of the indexers' state.
Environment
Version:
Operating System:
Architecture:
Additional Information
One solution might be to consistently poll and cache health info from the database and provide the latest value when requested.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: deucalionThis is a change to Deucalion (internal Prometheus service)This is a change to Deucalion (internal Prometheus service)area: tbcThis is a change to TBC (Tiny Bitcoin)This is a change to TBC (Tiny Bitcoin)size: SThis change is small (+/- <80)This change is small (+/- <80)type: bugThis is a bugThis is a bug