Commit 9255fbadf6639dce3d002f3b21fb54f778ff2588
1 parent
84503cc0
Exists in
master
and in
23 other branches
feed-handler: remove logger flood on processing feed
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
lib/feed_handler.rb
| @@ -51,7 +51,6 @@ class FeedHandler | @@ -51,7 +51,6 @@ class FeedHandler | ||
| 51 | end | 51 | end |
| 52 | 52 | ||
| 53 | def process(container) | 53 | def process(container) |
| 54 | - RAILS_DEFAULT_LOGGER.info("Processing %s with id = %d" % [container.class.name, container.id]) | ||
| 55 | begin | 54 | begin |
| 56 | container.class.transaction do | 55 | container.class.transaction do |
| 57 | if container.update_errors > FeedHandler.max_errors && container.fetched_at < (Time.now - FeedHandler.disabled_period) | 56 | if container.update_errors > FeedHandler.max_errors && container.fetched_at < (Time.now - FeedHandler.disabled_period) |