Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 16:56:30 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 16:56:30 +0300
commitd64183e1fa26ab77107e3a2a20be1fe4df3a1875 (patch)
tree00d7b51545c116ce67bb857fd1003ea381250584 /lib/gitlab/chat_name_token.rb
parentc60437786bfe43344b4a5eb040437f73f37c6396 (diff)
Add most of specs for chat names
Diffstat (limited to 'lib/gitlab/chat_name_token.rb')
-rw-r--r--lib/gitlab/chat_name_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/chat_name_token.rb b/lib/gitlab/chat_name_token.rb
index c8349839219..543f038a4d4 100644
--- a/lib/gitlab/chat_name_token.rb
+++ b/lib/gitlab/chat_name_token.rb
@@ -5,7 +5,7 @@ module Gitlab
attr_reader :token
TOKEN_LENGTH = 50
- EXPIRY_TIME = 1800
+ EXPIRY_TIME = 10.minutes # 10 minutes
def initialize(token = new_token)
@token = token