Keep date range for person_relay #46

Closed
opened 2022-11-28 07:47:14 +13:00 by mikedilger · 6 comments
mikedilger commented 2022-11-28 07:47:14 +13:00 (Migrated from github.com)

When we follow someone, we don't get their entire history. But people will want to 'load more' at which point we should query an older date range.

When we follow someone, we don't get their entire history. But people will want to 'load more' at which point we should query an older date range.
mikedilger commented 2022-12-22 12:50:56 +13:00 (Migrated from github.com)

We only keep last_fetched right now

We only keep last_fetched right now
mikedilger commented 2023-10-18 11:02:50 +13:00 (Migrated from github.com)

This would make things so complicated, remembering and possibly merging multiple discontinuous ranges that we fetched, that I'm going to mark this as "your dreaming"

This would make things so complicated, remembering and possibly merging multiple discontinuous ranges that we fetched, that I'm going to mark this as "your dreaming"
bu5hm4nn commented 2023-10-21 11:24:24 +13:00 (Migrated from github.com)

Maybe we can offer the option to re-fetch a person-feed as a manual action? Something like "search for more content" on the person feed? Then the user can specify a date range.

Maybe we can offer the option to re-fetch a person-feed as a manual action? Something like "search for more content" on the person feed? Then the user can specify a date range.
micressor commented 2023-12-01 02:01:24 +13:00 (Migrated from github.com)

When I try to re-fetch all my very old DM's / notes from a clean profile

GOSSIP_PROFILE=xxx gossip

i am not able to get this. Maximum seems to be one day (Feed Chunk).
Tested on 0.8.2 debian package.

When I try to re-fetch all my very old DM's / notes from a clean profile ``` GOSSIP_PROFILE=xxx gossip ``` i am not able to get this. Maximum seems to be one day (Feed Chunk). Tested on 0.8.2 debian package.
mikedilger commented 2023-12-01 15:04:33 +13:00 (Migrated from github.com)

We have a load-more branch that isn't merged yet

We have a load-more branch that isn't merged yet
mikedilger commented 2025-04-01 16:57:50 +13:00 (Migrated from github.com)

The original issue as stated is completed, but the subsequent comments about it are certainly not completed. We don't store in person_relay any set of ranges that we have loaded, and while you can go back as far as you want, but you can't jump back by large increments, you can only grow backwards by small continuous increments.

I'm going to close this and open a new issue that makes it clear what is still lacking.

The original issue as stated is completed, but the subsequent comments about it are certainly not completed. We don't store in person_relay any set of ranges that we have loaded, and while you can go back as far as you want, but you can't jump back by large increments, you can only grow backwards by small continuous increments. I'm going to close this and open a new issue that makes it clear what is still lacking.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#46
No description provided.