fix: updater not being limited
parent
9d2271f28b
commit
8ba5705b12
|
@ -44,7 +44,7 @@ if __name__ == "__main__":
|
||||||
futures = []
|
futures = []
|
||||||
with ThreadPoolExecutor(max_workers=int(os.getenv('FEDISEER_UPDATE_THREADS', 25))) as executor:
|
with ThreadPoolExecutor(max_workers=int(os.getenv('FEDISEER_UPDATE_THREADS', 25))) as executor:
|
||||||
with OVERSEER.app_context():
|
with OVERSEER.app_context():
|
||||||
for instance in database.get_all_instances(0,0):
|
for instance in database.get_all_instances(0,0,limit=1000000):
|
||||||
if instance.software == 'wildcard':
|
if instance.software == 'wildcard':
|
||||||
continue
|
continue
|
||||||
# -1 doesn't skip anything
|
# -1 doesn't skip anything
|
||||||
|
|
Loading…
Reference in New Issue