Skip to content

Commit

Permalink
chore(tokens): adjust shift of token expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Dec 16, 2023
1 parent 7ba516a commit 77742ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tokens/internal/grpc_impl/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"
)

const expireShift = 5 * time.Second
const expireShift = 15 * time.Minute

func isTokenExpired(expiresIn int, obtainmentTimestamp time.Time) bool {
currentTime := time.Now().UTC()
Expand Down

0 comments on commit 77742ea

Please sign in to comment.