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:
Sojan Jose
2021-07-14 22:51:27 +05:30
committed by GitHub
parent 3d18ec9e40
commit d7982a6ffd
12 changed files with 153 additions and 70 deletions

View File

@@ -1,16 +1,10 @@
module Redis::Config
DEFAULT_SENTINEL_PORT ||= '26379'.freeze
SIDEKIQ_SIZE ||= 25
class << self
def app
config
end
def sidekiq
app.merge(size: SIDEKIQ_SIZE)
end
def config
@config ||= sentinel? ? sentinel_config : base_config
end