Kouhei Sutou
null+****@clear*****
Sun Mar 23 22:13:41 JST 2014
Kouhei Sutou 2014-03-23 22:13:41 +0900 (Sun, 23 Mar 2014) New Revision: 646b60821238939a0e4b22bba2485442c3dcaa88 https://github.com/droonga/fluent-plugin-droonga/commit/646b60821238939a0e4b22bba2485442c3dcaa88 Message: Add missing "=" Modified files: lib/droonga/job_pusher.rb Modified: lib/droonga/job_pusher.rb (+2 -2) =================================================================== --- lib/droonga/job_pusher.rb 2014-03-23 22:03:56 +0900 (23e733b) +++ lib/droonga/job_pusher.rb 2014-03-23 22:13:41 +0900 (c65a1af) @@ -118,7 +118,7 @@ module Droonga end def report_statistics_on_push - if****@buffe***** > @many_jobs_threshold + if****@buffe***** >= @many_jobs_threshold if (@buffers.size % @many_jobs_report_interval).zero? logger.warn("push: many jobs in queue: #{@buffers.size}") end @@ -126,7 +126,7 @@ module Droonga end def report_statistics_on_pull - if****@buffe***** > @many_jobs_threshold + if****@buffe***** >= @many_jobs_threshold if (@buffers.size % @many_jobs_report_interval).zero? logger.info("pull: many jobs in queue: #{@buffers.size}") end -------------- next part -------------- HTML����������������������������...Download