aboutsummaryrefslogtreecommitdiffstats
path: root/aggro.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-10 18:56:47 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-10 19:01:00 +0300
commit18210e2d54136a18b4ccf013cfa9971a797ddb47 (patch)
treecf2291a43fe6cfa12a48a9368386fda989bd5439 /aggro.py
parentcfac80ebc88b2256317b98a243083637aa6a5b3c (diff)
Add ScraperSourcePlugin
Diffstat (limited to 'aggro.py')
-rw-r--r--aggro.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/aggro.py b/aggro.py
index b57058b..63ec9ef 100644
--- a/aggro.py
+++ b/aggro.py
@@ -79,15 +79,15 @@ if __name__ == "__main__":
memory_state.running = True
+ server_thread = Thread(target=run_server_thread, args=[aggro_config])
+ server_thread.daemon = True
+ server_thread.start()
+
manager.initial_run_scheduled_plugins()
plugin_thread = Thread(target=run_plugin_thread, args=[manager, aggro_config])
plugin_thread.start()
- server_thread = Thread(target=run_server_thread, args=[aggro_config])
- server_thread.daemon = True
- server_thread.start()
-
try:
while memory_state.running:
time.sleep(0.1)