Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ivansete-status opened this issue Nov 4, 2024 · 0 comments
Open

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

Ivansete-status opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
effort/hours Estimated to be completed in a few hours

Comments

@Ivansete-status
Copy link
Collaborator

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.

@Ivansete-status Ivansete-status added the effort/hours Estimated to be completed in a few hours label Nov 4, 2024
@Ivansete-status Ivansete-status moved this to Priority in Waku Nov 4, 2024
@Ivansete-status Ivansete-status self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to be completed in a few hours
Projects
Status: In Progress
Development

No branches or pull requests

1 participant