Conversation
Notices
-
A question about pleroma's totally sensible and intuitive db schema: my /api/v1/instance/peers returns ~11000 instances but there's only ~5000 in the instances table. Where the fuck are the rest of the instances stored?
cc @mint
- likes this.
-
@shitpisscum Interesting. I'll dig it up a little later.
-
@mint @shitpisscum Ask @EricZhang456
-
@shitpisscum /api/v1/instance/peers calls Pleroma.Stats.get_peers(), which gets lists of peers precalculated from unique domains found in users table. Don't know what exactly instances table is used for, but most likely tracking whether instances are online in order to not send out activities to offline instances (this was a common problem with KFcc going back online after months of downtime, at least until Pleroma got patched to reset the state when receiving fresh activity).
Screenshot_20231126_115410.png