diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-24 01:39:48 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-24 01:39:48 +0300 |
commit | 2fb3fcf0c0446c9a1568e26e81d49f3b5ce159dc (patch) | |
tree | 67aa953b3e8dd0245307cdfefa9f3005659df040 /config | |
parent | 509ff2ab170802e23646282f1d146a6383b53a66 (diff) | |
parent | 2f0599b6c851c208b5332f37509df0ada52e6d6a (diff) |
Merge branch '27989-disable-counting-tags' into 'master'
Disable unused tags count cache for Projects, Builds and Runners
Closes #27989
See merge request !9467
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/acts_as_taggable.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/acts_as_taggable.rb b/config/initializers/acts_as_taggable.rb new file mode 100644 index 00000000000..c564c0cab11 --- /dev/null +++ b/config/initializers/acts_as_taggable.rb @@ -0,0 +1,5 @@ +ActsAsTaggableOn.strict_case_match = true + +# tags_counter enables caching count of tags which results in an update whenever a tag is added or removed +# since the count is not used anywhere its better performance wise to disable this cache +ActsAsTaggableOn.tags_counter = false |