Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

allow multiple redis servers

Markus Kahl68d790be083e
diff --git a/lib_static/open_project/configuration.rb b/lib_static/open_project/configuration.rb
index a146f28666c..c725f6dc356 100644
--- a/lib_static/open_project/configuration.rb
+++ b/lib_static/open_project/configuration.rb
@@ -94,7 +94,7 @@ module OpenProject
end
def redis_cache_configuration
- url = self['cache_redis_url']
+ url = String(self['cache_redis_url']).split(",").map(&:strip)
raise ArgumentError, "CACHE_SERVER is set to redis, but CACHE_REDIS_URL is not set." if url.blank?
[