This should get us back on track (tested on ARCH Linux)
This commit is contained in:
@@ -182,7 +182,7 @@ class OrgController:
|
||||
"member_count=VALUE(member_count), "
|
||||
"last_seen=VALUE(last_seen)",
|
||||
data)
|
||||
self.db.exec("DELETE FROM all_orgs where last_seen < ?", [time.time() - 2 * 24 * 60 * 60])
|
||||
# self.db.exec("DELETE FROM all_orgs where last_seen < ?", [time.time() - 2 * 24 * 60 * 60])
|
||||
self.logger.info(f"Successfully fetched {count} orgs in {time.time() - start:.2f} seconds.")
|
||||
self.threads.pop('orgdiscover', None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user