We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf088a commit 01fcb19Copy full SHA for 01fcb19
rai-sdk/src/main/java/com/relationalai/AccessToken.java
@@ -43,8 +43,8 @@ long nowEpochSecs() {
43
}
44
45
// Answers if the token is expired.
46
- // Anticipate access token expiration by 5 seconds
+ // Anticipate access token expiration by 60 seconds
47
public boolean isExpired() {
48
- return nowEpochSecs() > expiresOn() - 5;
+ return nowEpochSecs() > expiresOn() - 60;
49
50
0 commit comments