this post was submitted on 12 Jun 2023
513 points (100.0% liked)
Technology
37735 readers
378 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not quite. If anyone on your instance searches for a community your instance will download the top 20 items from that community right away. Your instance from that point on should start syncing that community including the backlog of any comments/additional items. But not the whole instance and it doesn't take actually subscribing to it.
Ah. You sound like you've looked at the code, can you say if there's some sort of admin command to sync a whole instance?
I've looked at some stuff... More to get an understanding of ActivityPub in specific.
I do not particularly know of a specific "sync everything" command and even if there was one that would be problematic... Sync everything... as in what exists right now? or forever in perpetuity?
The only way I can think of doing it right now would be to grab a list of all the communities on a server and just script searching for them all one by one. That would effectively sync everything forever for all the communities that currently exist.
Yeah, that would work. Paging @cephi@lemmy.bunbi.net, who started this discussion and who does self-host. To save you a click, here's the libraries you could use for that.