chore: Add assigned option to conversation finder API (#2630)
- Adds the ability to filter all the conversations which are assigned - Add rack timeout gem - Remove size attribute from Sidekiq config
This commit is contained in:
@@ -20,14 +20,6 @@ describe ::Redis::Config do
|
||||
expect(app_config[:url]).to eq(redis_url)
|
||||
expect(app_config[:password]).to eq(redis_pasword)
|
||||
end
|
||||
|
||||
it 'checks for sidekiq redis config' do
|
||||
sidekiq_config = described_class.sidekiq
|
||||
expect(sidekiq_config.keys).to match_array([:url, :password, :size, :network_timeout, :reconnect_attempts])
|
||||
expect(sidekiq_config[:url]).to eq redis_url
|
||||
expect(sidekiq_config[:password]).to eq redis_pasword
|
||||
expect(sidekiq_config[:size]).to eq described_class::SIDEKIQ_SIZE
|
||||
end
|
||||
end
|
||||
|
||||
context 'when redis sentinel is used' do
|
||||
@@ -58,10 +50,5 @@ describe ::Redis::Config do
|
||||
expect(described_class.app[:url]).to eq("redis://#{redis_master_name}")
|
||||
expect(described_class.app[:sentinels]).to match_array(expected_sentinels)
|
||||
end
|
||||
|
||||
it 'checks for sidekiq redis config' do
|
||||
expect(described_class.sidekiq.keys).to match_array([:url, :password, :sentinels, :size, :network_timeout, :reconnect_attempts])
|
||||
expect(described_class.sidekiq[:size]).to eq described_class::SIDEKIQ_SIZE
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user