Skip to content

Commit

Permalink
lowered the token expiry length for buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
c0untingNumbers committed Jan 2, 2025
1 parent 28e6522 commit a080874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func setUpClients() {
storageClient = _storageClient
computeClient = _computeClient

tokenExpiry = time.Now().Add(24 * time.Hour) // 24-hour token validity
tokenExpiry = time.Now().Add(20 * time.Hour) // Refresh token after 20 hours to give some buffer for 24-hour token validity
}
}

Expand Down

0 comments on commit a080874

Please sign in to comment.