Skip to content

cache network status check after live #759

Description

@Sotatek-HenryDo

Currently the data endpoints check the indexer sync status before serving requests.

This hits the db on every request. Once the stage is LIVE, we dont expect it to go down quickly, so we could cache the LIVE state and refresh it every 5-10 seconds instead of checking for every request.

There should be proper performance/load testing before doing this, to make sure the network status check does not impact data endpoint performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions