summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksei Lipniagov <alipniagov@gitlab.com>2019-09-11 18:32:24 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-09-11 18:32:24 +0000
commit50cb6eca570a352a3b9799a66f77edad261763be (patch)
treed5157634a5100ca6900a3dc8d7b0b806caf39ca5 /config
parent6db9cbfe77a556ea2d321f0ea0a0c6b6e14a817c (diff)
downloadgitlab-ce-50cb6eca570a352a3b9799a66f77edad261763be.tar.gz
Use 'gitlab_chronic_duration' gem
Replace 'chronic_duration' to 'gitlab_chronic_duration', to make relevant method calls thread-safe.
Diffstat (limited to 'config')
-rw-r--r--config/initializers/chronic_duration.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/initializers/chronic_duration.rb b/config/initializers/chronic_duration.rb
index aa43eef434c..5528df6c660 100644
--- a/config/initializers/chronic_duration.rb
+++ b/config/initializers/chronic_duration.rb
@@ -1,5 +1,3 @@
# frozen_string_literal: true
ChronicDuration.raise_exceptions = true
-
-ChronicDuration.prepend Gitlab::Patch::ChronicDuration