Skip to content

Commit

Permalink
CID-2744: set installation token expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Jul 12, 2024
1 parent 889cb63 commit 19cd1e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class GitHubScanningService(
) {
installations.forEach { installation ->
val installationToken = gitHubClient.createInstallationToken(installation.id, "Bearer $jwtToken").token
cachingService.set("installationToken:${installation.id}", installationToken, null)
// cachingService.set("installationToken:${installation.id}", installationToken, 3600L)
cachingService.set("installationToken:${installation.id}", installationToken, 3600L)
}
}

Expand Down

0 comments on commit 19cd1e3

Please sign in to comment.