Skip to content

chore: cap max time range allowed in store query #3170

@Ivansete-status

Description

@Ivansete-status

Background

The node can find difficulties when receiving store queries with too big time ranges, e.g. 1 month
We need to limit the time range allowed by store queries.

Details

Status app nowadays can ask for 1month data when looking for community description or user profile data. When that happens, the store response time can easily be >1 minute.

With the aim to always bring the fastest response, we will limit the maximum time range to 24 hours.

Metadata

Metadata

Labels

effort/hoursEstimated to be completed in a few hours

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions