diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-07-28 18:01:10 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-07-28 18:01:10 +0500 |
commit | 5d77ff4bcde3496554551701438c1f42550e58b3 (patch) | |
tree | b5ae06798661167b07286d381199c5de2004f300 /model/session.go | |
parent | 3dd541d3e09b99c60b892c37419dfa30b10700c7 (diff) | |
parent | 3a297135372c288b11c75acf6100d97c35c9dae3 (diff) | |
download | chat-5d77ff4bcde3496554551701438c1f42550e58b3.tar.gz chat-5d77ff4bcde3496554551701438c1f42550e58b3.tar.bz2 chat-5d77ff4bcde3496554551701438c1f42550e58b3.zip |
Merge branch 'master' of https://github.com/mattermost/platform
Diffstat (limited to 'model/session.go')
-rw-r--r-- | model/session.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/model/session.go b/model/session.go index 9fd3b9ec3..c812f83e2 100644 --- a/model/session.go +++ b/model/session.go @@ -10,9 +10,9 @@ import ( const ( SESSION_TOKEN = "MMSID" - SESSION_TIME_WEB_IN_DAYS = 365 + SESSION_TIME_WEB_IN_DAYS = 30 SESSION_TIME_WEB_IN_SECS = 60 * 60 * 24 * SESSION_TIME_WEB_IN_DAYS - SESSION_TIME_MOBILE_IN_DAYS = 365 + SESSION_TIME_MOBILE_IN_DAYS = 30 SESSION_TIME_MOBILE_IN_SECS = 60 * 60 * 24 * SESSION_TIME_MOBILE_IN_DAYS SESSION_CACHE_IN_SECS = 60 * 10 SESSION_CACHE_SIZE = 10000 |