From cff08cb7be93832b67d7d9707051890d152dd9c5 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Sat, 20 May 2023 14:26:02 +0200
Subject: [PATCH] Continued: - only fetch these, others are WIP

---
 fetch_instances.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fetch_instances.py b/fetch_instances.py
index e1882cc..fb1ba01 100644
--- a/fetch_instances.py
+++ b/fetch_instances.py
@@ -60,7 +60,7 @@ fetch_instances(instance)
 
 # Loop through some instances
 fba.c.execute(
-    "SELECT domain FROM instances WHERE software IS NOT NULL AND (last_nodeinfo IS NULL OR last_nodeinfo < ?) ORDER BY rowid DESC", [time.time() - fba.config["recheck_instance"]]
+    "SELECT domain FROM instances WHERE software IN ('pleroma', 'mastodon', 'friendica', 'misskey', 'gotosocial') AND (last_nodeinfo IS NULL OR last_nodeinfo < ?) ORDER BY rowid DESC", [time.time() - fba.config["recheck_instance"]]
 )
 
 for instance in fba.c.fetchall():
-- 
2.39.5