diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 13:57:15 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 13:57:15 +0100 |
commit | 3ad6ef72cb3a02135a0f395a8a46323e86c4b334 (patch) | |
tree | ff1f1d15a80f5420c52afd4d975b44c0afe1194e /config/initializers | |
parent | ba22398c38067e05f141a0dddeb20bf68913988a (diff) | |
parent | 741d0952b174740e70a09fe6db6862624dfe1e44 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/inflections.rb | 4 | ||||
-rw-r--r-- | config/initializers/sidekiq.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index ebb7541eb..9bc9a54b2 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -20,6 +20,10 @@ ActiveSupport::Inflector.inflections(:en) do |inflect| inflect.acronym 'JsonLd' inflect.acronym 'NodeInfo' inflect.acronym 'Ed25519' + inflect.acronym 'TOC' + inflect.acronym 'RSS' + inflect.acronym 'REST' + inflect.acronym 'URL' inflect.singular 'data', 'data' end diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 9d348ddd0..fc85a3913 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true namespace = ENV.fetch('REDIS_NAMESPACE') { nil } -redis_params = { url: ENV['REDIS_URL'] } +redis_params = { url: ENV['REDIS_URL'], driver: :hiredis } if namespace redis_params[:namespace] = namespace |