[Groonga-commit] groonga/groonga-query-log at 59fc02c [master] Show only slow query on stream mode

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 6 11:57:41 JST 2013


Kouhei Sutou	2013-12-06 11:57:41 +0900 (Fri, 06 Dec 2013)

  New Revision: 59fc02c749c77fb210aa4242c4d1bc4eb13ac44d
  https://github.com/groonga/groonga-query-log/commit/59fc02c749c77fb210aa4242c4d1bc4eb13ac44d

  Message:
    Show only slow query on stream mode

  Modified files:
    lib/groonga/query-log/analyzer/streamer.rb

  Modified: lib/groonga/query-log/analyzer/streamer.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/analyzer/streamer.rb    2013-12-06 11:57:13 +0900 (e66b751)
+++ lib/groonga/query-log/analyzer/streamer.rb    2013-12-06 11:57:41 +0900 (0e16f09)
@@ -30,7 +30,7 @@ module Groonga
         end
 
         def <<(statistic)
-          @reporter.report_statistic(statistic)
+          @reporter.report_statistic(statistic) if statistic.slow?
         end
 
         def finish
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index