[Groonga-commit] groonga/groonga-query-log at 21c8b2e [master] server-verifier: add --abort-on-exception debug option

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jan 15 19:10:48 JST 2014


Kouhei Sutou	2014-01-15 19:10:48 +0900 (Wed, 15 Jan 2014)

  New Revision: 21c8b2ecccb428791b8b841da1ef0a0531410291
  https://github.com/groonga/groonga-query-log/commit/21c8b2ecccb428791b8b841da1ef0a0531410291

  Message:
    server-verifier: add --abort-on-exception debug option

  Modified files:
    lib/groonga/query-log/command/verify-server.rb

  Modified: lib/groonga/query-log/command/verify-server.rb (+8 -0)
===================================================================
--- lib/groonga/query-log/command/verify-server.rb    2014-01-15 19:10:15 +0900 (5e24e28)
+++ lib/groonga/query-log/command/verify-server.rb    2014-01-15 19:10:48 +0900 (cc795b3)
@@ -128,6 +128,14 @@ module Groonga
                     "[stdout]") do |path|
             @options.output_path = path
           end
+
+          parser.separator("Debug options:")
+          parser.separator("")
+
+          parser.on("--abort-on-exception",
+                    "Abort on exception in threads") do
+            Thread.abort_on_excepption = true
+          end
         end
       end
     end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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