diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 54f22c95a..79e4bb7f0 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -39,7 +39,7 @@ const SORTABLE_COLUMNS = { | |||
39 | } | 39 | } |
40 | 40 | ||
41 | const OAUTH_LIFETIME = { | 41 | const OAUTH_LIFETIME = { |
42 | ACCESS_TOKEN: 3600 * 4, // 4 hours | 42 | ACCESS_TOKEN: 3600 * 24, // 1 day, for upload |
43 | REFRESH_TOKEN: 1209600 // 2 weeks | 43 | REFRESH_TOKEN: 1209600 // 2 weeks |
44 | } | 44 | } |
45 | 45 | ||