summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-01 12:52:13 -0700
committernickago <ngonella@calpoly.edu>2015-07-01 12:52:13 -0700
commit233502eea87b8004d2bc15b872fcfa2bf508056d (patch)
tree1949494a25f1bc5c6f03a0d811e598622e277eab /model
parent5e204030ffe91aaab090a26547185017edf1d2e1 (diff)
downloadchat-233502eea87b8004d2bc15b872fcfa2bf508056d.tar.gz
chat-233502eea87b8004d2bc15b872fcfa2bf508056d.tar.bz2
chat-233502eea87b8004d2bc15b872fcfa2bf508056d.zip
Changed offline timeout to 1 mintue
Diffstat (limited to 'model')
-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"