Skip to content

Commit 51b9145

Browse files
authored
chore: fix comment about clock_skew (#653)
Clock skew was changed in #581
1 parent c83e8aa commit 51b9145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-auth/google/auth/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def expired(self):
6363
if not self.expiry:
6464
return False
6565

66-
# Remove 5 minutes from expiry to err on the side of reporting
66+
# Remove 10 seconds from expiry to err on the side of reporting
6767
# expiration early so that we avoid the 401-refresh-retry loop.
6868
skewed_expiry = self.expiry - _helpers.CLOCK_SKEW
6969
return _helpers.utcnow() >= skewed_expiry

0 commit comments

Comments
 (0)