From a12fcd85972cbf9971412271255d65b1cf391ae3 Mon Sep 17 00:00:00 2001
From: Israel Barreto Sant'Anna <ibsa14@inf.ufpr.br>
Date: Fri, 3 Feb 2017 11:43:04 -0200
Subject: [PATCH] Fixed devise token auth batch buffer config

Signed-off-by: Israel Barreto Sant'Anna <ibsa14@inf.ufpr.br>
---
 config/initializers/devise_token_auth.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/initializers/devise_token_auth.rb b/config/initializers/devise_token_auth.rb
index 13b39564..cbc318d5 100644
--- a/config/initializers/devise_token_auth.rb
+++ b/config/initializers/devise_token_auth.rb
@@ -17,7 +17,7 @@ DeviseTokenAuth.setup do |config|
   # time. In this case, each request in the batch will need to share the same
   # auth token. This setting determines how far apart the requests can be while
   # still using the same auth token.
-  # config.batch_request_buffer_throttle = 5.seconds
+  config.batch_request_buffer_throttle = 5.seconds
 
   # This route will be the prefix for all oauth2 redirect callbacks. For
   # example, using the default '/omniauth', the github oauth2 provider will
-- 
GitLab