Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
vincent
@pixel
On hub-nodejs, if I run `client subscribe ... fromId 0 ...`, will I eventually get all unpruned events from Hub? If I want to get all events stored by Hub, is using `getAllMessagesBySyncIds` more efficient than doing `client subscribe ... fromId 0 ...`?
2 replies
0 recast
8 reactions
Greg
@greg
No, those type of events expire after 3 days
2 replies
0 recast
1 reaction
vincent
@pixel
Hmm, I did remember getting events older than 3 days with that specific function. Maybe you were talking about getEvents in the HTTP API?
1 reply
0 recast
0 reaction
Greg
@greg
uhhh not sure, maybe @sanjay or @v can help?
1 reply
0 recast
1 reaction
Sanjay
@sanjay
Only 3 days is guaranteed, it’s possible the cleanup job didn’t run yet and you got older events.
2 replies
0 recast
1 reaction
Greg
@greg
cool ty
0 reply
0 recast
1 reaction