Merge branch 'develop' of git.znuny.com:zammad/zammad into develop

This commit is contained in:
Martin Edenhofer 2018-04-27 13:41:32 +02:00
commit a541e6194c

View file

@ -251,7 +251,8 @@ class Scheduler < ApplicationModel
# restart job again
if try_run_max > try_count
sleep(try_count) # wait between retries (see https://github.com/zammad/zammad/issues/1950)
# wait between retries (see https://github.com/zammad/zammad/issues/1950)
sleep(try_count) if Rails.env.production?
_start_job(job, try_count, try_run_time)
else
# release thread lock and remove thread handle