feoblog icon indicating copy to clipboard operation
feoblog copied to clipboard

Better default sync

Open NfNitLoop opened this issue 4 years ago • 0 comments

Currently, the sync option by default syncs all history, or at least until the server reports that the user's quota is up.

That can be a very long process if you've never sync'd before, or it's been a long time.

We should add options to:

  • Only sync up to $deltaTime worth of posts. (from each follow)
  • Only sync up to $number posts. (from each follow)
  • Sync up to $deltaTime with a minimum of $number posts. (more favorable to slow blogs.)
  • (additionally) Sync up to $number additional posts if none were otherwise sync'd. (allows for additional older content to trickle in over time. to improve caching, even though we're mostly wanting to sync recent news.)

And set some reasonable defaults. Probably:

  • Sync up to 1 month with a minimum of 100 posts.
  • Sync up to 10 additional posts

NfNitLoop avatar Jan 09 '22 19:01 NfNitLoop