Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Fixing builder crash on error when polling
Browse files Browse the repository at this point in the history
  • Loading branch information
mrduncan committed Sep 18, 2009
1 parent ead456f commit 0d09fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/polling_scheduler.rb
Expand Up @@ -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
Expand Down

0 comments on commit 0d09fc2

Please sign in to comment.