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

Store node queries seem to only work for the past 24 hours #5197

Closed
jrainville opened this issue May 21, 2024 · 0 comments
Closed

Store node queries seem to only work for the past 24 hours #5197

jrainville opened this issue May 21, 2024 · 0 comments
Assignees
Labels
E:Store Nodes MVP status-waku-integ All issues relating to the Status Waku integration.
Milestone

Comments

@jrainville
Copy link
Member

Problem

Each day I login and compare the Discord community with my Status community, and it seems that when messages are from a day old or more, it never fetches automatically. If I use the Debug action to fetch more, it works, but otherwise, I wouldn't even know I'm missing messages.

Here is just one example. I'm missing messages from 24h+
image

And after manually pressing fetch messages, I see them

Implementation

The code is supposed to gradually fetch more and more messages in the past, but it doesn't seem to work.

Here is one log from a query, but the timestamp format is pretty rough

DEBUG[05-21|09:25:28.270|github.com/status-im/status-go/wakuv2/waku.go:1075]                                  store.query                              requestID=0x1459d0ce7e366654aac58cd96e5bd6f7142dd7db51076130bd04ed0724f5392c startTime=1,716,211,529,000,000,000 endTime=1,716,297,929,000,000,000 contentTopics=[/waku/1/0xf4b1fce8/rfc26] pubsubTopic=/waku/2/rs/16/32 peerID=16Uiu2HAmJnVR7ZzFaYvciPVafUXuYGLHPzSUigqAmeNw9nJUVGeM

Acceptance Criteria

I'm not sure what's the cutoff we want, but being able to fetch the past 3 days is a good start.

It would be even better though if we could record the last time we were online and fetch from that time stamp (with a little buffer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E:Store Nodes MVP status-waku-integ All issues relating to the Status Waku integration.
Projects
Status: Done
Development

No branches or pull requests

3 participants