YUKI Hiroshi
null+****@clear*****
Mon Oct 7 16:53:16 JST 2013
YUKI Hiroshi 2013-10-07 16:53:16 +0900 (Mon, 07 Oct 2013) New Revision: a602c290ef9af679ec87a83e8bed5c894215f245 https://github.com/droonga/http-benchmark/commit/a602c290ef9af679ec87a83e8bed5c894215f245 Message: Fix unexpectedly switched "else" and "end" Modified files: lib/droonga/http-benchmark.rb Modified: lib/droonga/http-benchmark.rb (+2 -2) =================================================================== --- lib/droonga/http-benchmark.rb 2013-10-07 16:52:16 +0900 (72e215d) +++ lib/droonga/http-benchmark.rb 2013-10-07 16:53:16 +0900 (787e757) @@ -155,9 +155,9 @@ class HttpBenchmark base_patterns = nil if request_pattern[:pattern] base_patterns = [request_pattern[:pattern]] - end - base_patterns = request_pattern[:patterns] else + base_patterns = request_pattern[:patterns] + end base_patterns = base_patterns.shuffle n_requests.times do |count| -------------- next part -------------- HTML����������������������������...Download