#153 Implement "fuse" scheduler for Taskotron
Closed: Fixed Opened by tflink.

Of the 3 checks included in the initial deployment of Taskotron, two are tasks which are rather expensive and don't need to be run for every update (depcheck, upgradepath).

The basic idea is to limit actual runs to every X minutes. Once something triggers the scheduler, it waits X minutes before actually scheduling the job in buildbot. All other triggers to that scheduler are held until the initially delayed execution.

This could be implemented in buildbot or in taskotron-trigger but the taskotron-trigger route is likely to be less effort.

Something similar which already uses fedmsg-hub [[https://github.com/fedora-infra/fedmsg-genacls/blob/develop/fedmsg_genacls.py|can be seen in fedmsg-genacls]]

Other things to keep in mind:
* the fuse time should be configurable from the config file
* emitting log messages for "ignored" messages during fuse burn are OK to log but only log a single triggered job to csv


This ticket is a duplicate of https://pagure.io/taskotron/taskotron-trigger/issue/11

This ticket had assigned some Differential requests:
D147

Metadata