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 = { } const OAUTH_LIFETIME = { - ACCESS_TOKEN: 3600 * 4, // 4 hours + ACCESS_TOKEN: 3600 * 24, // 1 day, for upload REFRESH_TOKEN: 1209600 // 2 weeks }