[Groonga-commit] groonga/groonga-query-log at 8766d2d [master] Move request cache parameter preparation to check code

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Sep 20 12:29:52 JST 2013


Kouhei Sutou	2013-09-20 12:29:52 +0900 (Fri, 20 Sep 2013)

  New Revision: 8766d2dedbe25b747089990e61c403eba16b4661
  https://github.com/groonga/groonga-query-log/commit/8766d2dedbe25b747089990e61c403eba16b4661

  Message:
    Move request cache parameter preparation to check code
    
    Because it is an operation for checking.

  Modified files:
    lib/groonga/query-log/memory-leak-detector.rb

  Modified: lib/groonga/query-log/memory-leak-detector.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/memory-leak-detector.rb    2013-09-20 12:28:32 +0900 (f89812c)
+++ lib/groonga/query-log/memory-leak-detector.rb    2013-09-20 12:29:52 +0900 (bbc9668)
@@ -31,7 +31,6 @@ module Groonga
 
       def detect(input)
         each_command(input) do |command|
-          command["cache"] = "no"
           @options.create_client do |client|
             begin
               check_command(client, command)
@@ -55,6 +54,7 @@ module Groonga
       end
 
       def check_command(client, command)
+        command["cache"] = "no"
         current_memory_usage = nil
         @options.n_tries.times do |i|
           client.execute(command)
-------------- next part --------------
HTML����������������������������...
Download 



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