summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-02 07:55:35 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-02 07:55:35 -0400
commit4adecf8198280a4712f81eb13e9bcd992df99c25 (patch)
tree9c79913e5e0aa080a875c141c5aa827caef98332
parent3757bc85fb5699e096d59d61f572af8e6c3a6ec6 (diff)
parent233502eea87b8004d2bc15b872fcfa2bf508056d (diff)
downloadchat-4adecf8198280a4712f81eb13e9bcd992df99c25.tar.gz
chat-4adecf8198280a4712f81eb13e9bcd992df99c25.tar.bz2
chat-4adecf8198280a4712f81eb13e9bcd992df99c25.zip
Merge pull request #117 from nickago/MM-1308
MM-1308 Changed offline timeout to 1 mintue
-rw-r--r--model/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/user.go b/model/user.go
index 18fbb0d2a..c516fae78 100644
--- a/model/user.go
+++ b/model/user.go
@@ -16,7 +16,7 @@ const (
ROLE_SYSTEM_ADMIN = "system_admin"
ROLE_SYSTEM_SUPPORT = "system_support"
USER_AWAY_TIMEOUT = 5 * 60 * 1000 // 5 minutes
- USER_OFFLINE_TIMEOUT = 5 * 60 * 1000 // 5 minutes
+ USER_OFFLINE_TIMEOUT = 1 * 60 * 1000 // 1 minute
USER_OFFLINE = "offline"
USER_AWAY = "away"
USER_ONLINE = "online"