about summary refs log tree commit diff
path: root/Gemfile
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-07-19 14:44:04 +0200
committerGitHub <noreply@github.com>2017-07-19 14:44:04 +0200
commit8400bee3b1960a56746196508b5e54ad9b2e0492 (patch)
treef4debdb8486cbf98be7a6cf03071500161e0548b /Gemfile
parentbc1f9dc24bc5d524d1b4adebadcd71984d9f11f0 (diff)
Refactor ResolveRemoteAccountService (#4258)
* Refactor ResolveRemoteAccountService

* Remove trailing whitespace

* Use redis locks around critical ResolveRemoteAccountService code

* Add test for race condition of lock
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index a6c2b2d65..f4d889165 100644
--- a/Gemfile
+++ b/Gemfile
@@ -52,6 +52,7 @@ gem 'rack-timeout', '~> 0.4'
 gem 'rails-i18n', '~> 5.0'
 gem 'rails-settings-cached', '~> 0.6'
 gem 'redis', '~> 3.3', require: ['redis', 'redis/connection/hiredis']
+gem 'mario-redis-lock', '~> 1.2', require: 'redis_lock'
 gem 'rqrcode', '~> 0.10'
 gem 'ruby-oembed', '~> 0.12', require: 'oembed'
 gem 'sanitize', '~> 4.4'