ontohub/ontohub — pull request #930 by 0robustus1 (2014-06-16 10:09:42+00:00)
Title: 899 add sidekiq timeout job

Shall fix #899 by integrating a timeout for those long-running jobs.
Currently the timeout defaults to 6 hours, which should be long enough, even for those rather large ontologies (or ontologies which import a lot of other ontologies).

Also includes specs.

Currently the timeout-worker just checks the current state of the version, and adjusts it, if it is not a terminal (`'failed'`, `'done'`) state.