From: Michael Tremer Date: Wed, 5 Oct 2022 15:58:09 +0000 (+0000) Subject: hub: Do not constantly try to dispatch any jobs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b4741c63ede223087c07ccf1a0014ea44176b36;p=pbs.git hub: Do not constantly try to dispatch any jobs This is kind of verbose, and we should be able to trigger this whenever we need it. Signed-off-by: Michael Tremer --- diff --git a/src/hub/__init__.py b/src/hub/__init__.py index 44c23fea..b5e81dc3 100644 --- a/src/hub/__init__.py +++ b/src/hub/__init__.py @@ -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