]> git.ipfire.org Git - pbs.git/commitdiff
hub: Do not constantly try to dispatch any jobs
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2022 15:58:09 +0000 (15:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2022 15:58:09 +0000 (15:58 +0000)
This is kind of verbose, and we should be able to trigger this whenever
we need it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/hub/__init__.py

index 44c23fea7df65f1308b70e8a8b654c51d40b1bcb..b5e81dc37290c81e2e0d66a24eacf83f235df8cd 100644 (file)
@@ -55,9 +55,6 @@ class Application(tornado.web.Application):
                # Launch backend
                self.backend = Backend()
 
-               # Launch any background jobs
-               self.backend.run_periodic_task(5, queue.dispatch_jobs, self.backend)
-
                logging.info("Successfully initialied application")
 
                # Perform some initial tasks