Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit b83b791

Browse files
authored
Merge pull request #271 from afrisalyp/issue-270
Increase gitlab token expiration
2 parents 1675247 + 2b012f6 commit b83b791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const GITLAB_MAX_PER_PAGE = Number.MAX_SAFE_INTEGER;
4343
const GITLAB_DEFAULT_GROUP_ACCESS_LEVEL = 30;
4444

4545
// The Gitlab access token default expiration in seconds
46-
const GITLAB_ACCESS_TOKEN_DEFAULT_EXPIRATION = 3600;
46+
const GITLAB_ACCESS_TOKEN_DEFAULT_EXPIRATION = 3600 * 24 * 14;
4747

4848
// The Gitlab refresh token time in seconds before expiration
4949
const GITLAB_REFRESH_TOKEN_BEFORE_EXPIRATION = 300;

0 commit comments

Comments
 (0)