forked from External/greenlight
GRN2-xx: Migration Error now returns 500 and added the option to disable cache (#776)
* Added the option to disable cache * Remove put statements
This commit is contained in:
committed by
Jesus Federico
parent
1eddd564d5
commit
02413cefb2
@ -118,6 +118,9 @@ module Greenlight
|
||||
|
||||
config.google_analytics = ENV["GOOGLE_ANALYTICS_TRACKING_ID"].present?
|
||||
|
||||
# Will always be true unless explicitly set to false
|
||||
config.enable_cache = ENV["ENABLE_CACHED_PROVIDER"] != "false"
|
||||
|
||||
# MAINTENANCE
|
||||
config.maintenance_window = ENV["MAINTENANCE_WINDOW"]
|
||||
config.maintenance_mode = ENV["MAINTENANCE_MODE"] == "true"
|
||||
|
Reference in New Issue
Block a user