]> git.ipfire.org Git - pbs.git/commitdiff
sources: Fetch every five minutes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 May 2023 19:38:04 +0000 (19:38 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 May 2023 19:38:04 +0000 (19:38 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/__init__.py

index 792e7c6db63af90a707c159f30c0a0947357178e..4bf3cab2d536cca75ce4d036d6ec59329fa5bdbb 100644 (file)
@@ -234,6 +234,9 @@ class Application(tornado.web.Application):
                # Regularly check the mirrors
                self.backend.run_periodic_task(300, self.backend.mirrors.check)
 
+               # Regularly fetch sources
+               self.backend.run_periodic_task(300, self.backend.sources.fetch)
+
                # Regularly check for new releases
                self.backend.run_periodic_task(300, self.backend.monitorings.check)