X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=fba%2Fcommands.py;h=561815c97ca4d75404cc7483f964880a375ba269;hb=67309da78fd077b3c19a5fa608beeccf3fcd0b69;hp=cb612ba76e4adff11aa5a6475579872d1749904b;hpb=d56e4ed1d0090419c824e17f6220fc83d4e89fb8;p=fba.git diff --git a/fba/commands.py b/fba/commands.py index cb612ba..561815c 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1007,7 +1007,7 @@ def fetch_instances(args: argparse.Namespace) -> int: database.cursor.execute( "SELECT domain, origin, software \ FROM instances \ -WHERE software IN ('pleroma', 'mastodon', 'friendica', 'misskey', 'lemmy', 'peertube', 'takahe', 'gotosocial', 'brighteon', 'wildebeest', 'bookwyrm', 'mitra', 'areionskey', 'mammuthus', 'neodb') \ +WHERE software IN ('pleroma', 'mastodon', 'friendica', 'misskey', 'lemmy', 'peertube', 'takahe', 'gotosocial', 'brighteon', 'wildebeest', 'bookwyrm', 'mitra', 'areionskey', 'mammuthus', 'neodb', 'smithereen') \ AND (last_instance_fetch IS NULL OR last_instance_fetch < ?) \ ORDER BY total_peers DESC, last_response_time ASC, last_updated ASC", [time.time() - config.get("recheck_instance")] )