fix(stats): leave our own host out of the peers

Favicon lookups for local accounts can add our own host to instances.
Also skip userinfo and IPv6 literals in the backfill migration.
This commit is contained in:
Lain Soykaf 2026-10-27 20:53:56 +04:00
commit 958166589e
No known key found for this signature in database
5 changed files with 15 additions and 4 deletions

View file

@ -1 +1 @@
Read the peer list from the instances table and update instance stats every 5 minutes instead of every minute; the old peers query was one of the most expensive regular queries
Read the peer list from the instances table (hosts of remote actors, without our own host) and update instance stats every 5 minutes; the old peers query scanned all remote users every minute