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:
parent
702902927d
commit
8ea9a09907
1 changed files with 0 additions and 13 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue