We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b65f68 commit 2888b38Copy full SHA for 2888b38
1 file changed
railib/credentials.py
@@ -40,8 +40,8 @@ def __init__(self, access_token: str, scope: str, expires_in: int, created_on: f
40
41
def is_expired(self):
42
return (
43
- time.time() - self.created_on >= self.expires_in - 5
44
- ) # anticipate token expiration by 5 seconds
+ time.time() - self.created_on >= self.expires_in - 60
+ ) # anticipate token expiration by 60 seconds
45
46
47
# Represents OAuth client credentials.
0 commit comments