mirror of
https://git.asonix.dog/ceralor/mastodon.git
synced 2025-10-13 13:54:33 +00:00
Refactor (ruby) redis configuration (#31694)
This commit is contained in:
parent
a23b3747ac
commit
388d5473e1
20 changed files with 295 additions and 90 deletions
|
@ -228,7 +228,7 @@ RSpec.describe ResolveAccountService do
|
|||
rescue ActiveRecord::RecordNotUnique
|
||||
fail_occurred = true
|
||||
ensure
|
||||
RedisConfiguration.pool.checkin if Thread.current[:redis]
|
||||
RedisConnection.pool.checkin if Thread.current[:redis]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue