Add race_condition_ttl to AdminSetting cache

Description

We'd like to set a race_condition_ttl on the cached AdminSetting in hopes that it will help eliminate errors such as ActionView::Template::Error: undefined method `downloads_enabled?' for nil:NilClass.

Testing

Log in as an admin and change an admin setting. Make sure that thing actually changes.

Activity

Show:
Sarken
April 4, 2019, 10:12 AM

I successfully disabled wrangling for non-admins and then turned it back on, so this looks good to me!

Nat
April 4, 2019, 11:20 AM

I’ve successfully disabled and re-enabled the Support form a couple times, working fine!

Lady Oscar
April 10, 2019, 3:39 PM

Did the same for disallowing/allowing downloads, also looks good!

DeployedToBeta

Assignee

redsummernight

Reporter

Sarken

Roadmap

Admin

Priority

Medium

Affects versions

Fix versions

Components

Caching

Difficulty

Medium

Required Access Level

Admin

Milestone

Internal 0.9