From 0d91a7c91cdf5551b5ddc124455c1641afb7c225 Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Thu, 26 Oct 2023 09:46:36 -0400 Subject: [PATCH] Fixes #36541 - Update Redis default databases for dynflow and cache --- config/settings.yaml.example | 2 +- extras/systemd/dynflow-sidekiq@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings.yaml.example b/config/settings.yaml.example index 610a97d9844..38d71745baa 100644 --- a/config/settings.yaml.example +++ b/config/settings.yaml.example @@ -141,7 +141,7 @@ # :rails_cache_store: # :type: redis # :urls: -# - redis://localhost:8479/0 +# - redis://localhost:8479/4 # :options: # :compress: true # :namespace: foreman diff --git a/extras/systemd/dynflow-sidekiq@.service b/extras/systemd/dynflow-sidekiq@.service index d6493191f73..c785c7a7a47 100644 --- a/extras/systemd/dynflow-sidekiq@.service +++ b/extras/systemd/dynflow-sidekiq@.service @@ -11,7 +11,7 @@ TimeoutSec=300 PrivateTmp=true Environment=RAILS_ENV=production Environment=DYNFLOW_SIDEKIQ_SCRIPT=/usr/share/foreman/extras/dynflow-sidekiq.rb -Environment=DYNFLOW_REDIS_URL=redis://localhost:6379/0 +Environment=DYNFLOW_REDIS_URL=redis://localhost:6379/6 Environment=REDIS_PROVIDER=DYNFLOW_REDIS_URL # Greatly reduce Ruby memory fragmentation and heap usage # https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/