Commit 01528c89 authored by Sean McGivern's avatar Sean McGivern Committed by Bob Van Landuyt

Add comment to Flipper patch on when we can remove it

A version of this change was accepted upstream, so once we're using a
version of Flipper that includes it, we can remove this file and simply
pass an additional option to the cache store's constructor.
parent 526b222a
......@@ -4,6 +4,10 @@
# This class was already nested this way before moving to a separate file
class Feature
class ActiveSupportCacheStoreAdapter < Flipper::Adapters::ActiveSupportCacheStore
# This patch represents https://github.com/jnunemaker/flipper/pull/512. In
# Flipper 0.21.0 and later, we can remove this and just pass `write_through:
# true` to the constructor in `Feature.build_flipper_instance`.
extend ::Gitlab::Utils::Override
override :enable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment