gitlab-org--gitlab-foss/config/initializers/flipper.rb
Rémy Coutable 2ad01c5ab0
Ensure Flipper memoizer is used in Sidekiq's context
Also, don't use the provided Middleware, which isn't thread-safe, and
instantiate a new Flipper instance per thread instead.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-18 12:25:54 +02:00

1 line
32 B
Ruby

Feature.register_feature_groups