Skip to content
Browse files

sleep the feedback feeder first, no need to start processing the feed…

…back directly
  • Loading branch information...
1 parent 471c0d1 commit 2e09d54c51e99ad2dd92a070e0cdc5bff7c2b1f8 @tompesman committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/push/daemon/feedback/feedback_feeder.rb
View
2 lib/push/daemon/feedback/feedback_feeder.rb
@@ -16,9 +16,9 @@ def name
def start
Thread.new do
loop do
+ interruptible_sleep @poll
break if @stop
enqueue_feedback
- interruptible_sleep @poll
end
end
end

0 comments on commit 2e09d54

Please sign in to comment.
Something went wrong with that request. Please try again.