summaryrefslogtreecommitdiff
path: root/lib/gitlab/chat_name_token.rb
diff options
context:
space:
mode:
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