Permalink
Browse files

Increase the memcached socket failures

  • Loading branch information...
1 parent 16464e5 commit cb61da1746264c2119fd0ece637b37fad4030cde @eric committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/metriks_log_webhook/app.rb
@@ -18,7 +18,7 @@ class App < Sinatra::Base
set :metrik_prefix, ENV['METRIK_PREFIX'] || 'metriks:'
set :metric_interval, 60
- set :cache, lambda { Dalli::Client.new }
+ set :cache, lambda { Dalli::Client.new(nil, :socket_max_failures => 7) }
set :metrics_client, LibratoMetrics.new(ENV['METRICS_EMAIL'], ENV['METRICS_TOKEN'])
end

0 comments on commit cb61da1

Please sign in to comment.