Show More
@@ -410,6 +410,12 b' def sanitize_settings_and_apply_defaults' | |||
|
410 | 410 | "Using the following Mako template directories: %s", |
|
411 | 411 | mako_directories) |
|
412 | 412 | |
|
413 | # NOTE(marcink): fix redis requirement for schema of connection since 3.X | |
|
414 | if 'beaker.session.type' in settings and settings['beaker.session.type'] == 'ext:redis': | |
|
415 | raw_url = settings['beaker.session.url'] | |
|
416 | if not raw_url.startswith(('redis://', 'rediss://', 'unix://')): | |
|
417 | settings['beaker.session.url'] = 'redis://' + raw_url | |
|
418 | ||
|
413 | 419 | # Default includes, possible to change as a user |
|
414 | 420 | pyramid_includes = settings.setdefault('pyramid.includes', [ |
|
415 | 421 | 'rhodecode.lib.middleware.request_wrapper', |
General Comments 0
You need to be logged in to leave comments.
Login now