Skip to content

Commit

Permalink
Remove double-byte space and change encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroki Matsue committed Jan 25, 2012
1 parent f88f78f commit adeed9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruby/server/lib/roma/tools/simple_bench2.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: undecided -*-
# -*- coding: utf-8 -*-
require 'date'
require 'roma/client/rclient'

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit adeed9c

Please sign in to comment.