Skip to content
Browse files

Remove double-byte space and change encoding.

  • Loading branch information...
1 parent f88f78f commit adeed9c493d36e98383691651243b7a69a84b83b Hiroki Matsue committed Jan 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ruby/server/lib/roma/tools/simple_bench2.rb
View
4 ruby/server/lib/roma/tools/simple_bench2.rb
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-# -*- coding: undecided -*-
+# -*- coding: utf-8 -*-
require 'date'
require 'roma/client/rclient'
@@ -43,7 +43,7 @@ def send_read_requests addr, port, count
count.times { |c|
i = rand count
ts = DateTime.now
- res = rc.get(i.to_s)
+ res = rc.get(i.to_s)
puts "get k=#{i} #{res}" if res == :error
}
end

0 comments on commit adeed9c

Please sign in to comment.
Something went wrong with that request. Please try again.