summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 14:56:30 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-17 21:34:23 +0100
commitbb988fd21498102e203f49c0968153d5ea83d03f (patch)
tree197138586f3b44b40046c0959023780e3cec5aea /lib
parent718b08429ce3372756186f9822091e887d91e9b3 (diff)
downloadgitlab-ce-bb988fd21498102e203f49c0968153d5ea83d03f.tar.gz
Add most of specs for chat names
Diffstat (limited to 'lib')
-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