diff --git a/app/models/polling_scheduler.rb b/app/models/polling_scheduler.rb index 7e75f8c0..114a71fe 100644 --- a/app/models/polling_scheduler.rb +++ b/app/models/polling_scheduler.rb @@ -17,7 +17,7 @@ def run throw :reload_project if @project.config_modified? rescue => e log_error(e) unless (same_error_as_before(e) and last_logged_less_than_an_hour_ago) - sleep(Configuration.sleep_after_build_loop_error) + sleep(Configuration.sleep_after_build_loop_error.to_i) end end end