1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Remove duplicate block

This commit is contained in:
Mike Perham 2016-11-11 10:04:41 -05:00
parent 702902927d
commit 8ea9a09907

View file

@ -12,19 +12,6 @@ require_relative '../lib/sidekiq/launcher'
include Sidekiq::Util
# brew tap shopify/shopify
# brew install toxiproxy
# gem install toxiproxy
require 'toxiproxy'
# simulate a non-localhost network for realer-world conditions.
# adding 1ms of network latency has an ENORMOUS impact on benchmarks
Toxiproxy.populate([{
"name": "redis",
"listen": "127.0.0.1:6380",
"upstream": "127.0.0.1:6379"
}])
Sidekiq.configure_server do |config|
#config.options[:concurrency] = 1
config.redis = { driver: :hiredis, db: 13, port: 6380 }