We're seeing a lot of warnings from our newly created OpenSearch Dashboard (round 2):
This is because a database write is happening on render, we should make sure to wrap this preference update call in a Deferred Update like so:
DeferredUpdates::addCallableUpdate
Acceptance Criteria:
Warning is no longer appearing in our logstash dashboard
Database write happening at end of request