diff --git a/tasks/redis.rake b/tasks/redis.rake index d8bb647..217a62e 100644 --- a/tasks/redis.rake +++ b/tasks/redis.rake @@ -39,5 +39,5 @@ task :redis do REDIS.set('rubies:api:last_update', { last_update: last_update }.to_json) - puts "#{last_update}: Redis OK | #{benchmark.round(2)}s | #{REDIS.dbsize} items" + puts "#{last_update}: Redis OK | #{format('%.2f', benchmark)}s | #{REDIS.dbsize} items" end