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

Limit the duration of long time range store query #6046

Open
kaichaosun opened this issue Nov 5, 2024 · 0 comments
Open

Limit the duration of long time range store query #6046

kaichaosun opened this issue Nov 5, 2024 · 0 comments
Assignees

Comments

@kaichaosun
Copy link
Contributor

kaichaosun commented Nov 5, 2024

When doing long time range queries (30 days) to look for specific messages (usually community description, or user profile when reinstalling app), proceed with 24 hours query, until information is found (meaning it should rarely do 30 queries).

https://github.com/status-im/status-go/blob/develop/protocol/messenger_store_node_request_manager.go#L544-L558

cc @fryorcraken @plopezlpz @richard-ramos

@kaichaosun kaichaosun self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant