diff --git a/rai-sdk/src/main/java/com/relationalai/AccessToken.java b/rai-sdk/src/main/java/com/relationalai/AccessToken.java index deaa306..cf02004 100644 --- a/rai-sdk/src/main/java/com/relationalai/AccessToken.java +++ b/rai-sdk/src/main/java/com/relationalai/AccessToken.java @@ -43,8 +43,8 @@ long nowEpochSecs() { } // Answers if the token is expired. - // Anticipate access token expiration by 5 seconds + // Anticipate access token expiration by 60 seconds public boolean isExpired() { - return nowEpochSecs() > expiresOn() - 5; + return nowEpochSecs() > expiresOn() - 60; } }