tdt / core

Transform any dataset into an HTTP API with The DataTank
http://thedatatank.com
83 stars 31 forks source link

Catch failing jobs #455

Open coreation opened 7 years ago

coreation commented 7 years ago

Issue

Jobs that are being executed can failed due to queue timeouts for example. In order to handle the jobs correctly (i.e. set the draft flag for definitions that are waiting for a job to finish) we need to listen for failed jobs. This can be done by registering the Queue::failing method in the application.