Skip to content

Commit a34e52b

Browse files
authored
Merge pull request #476 from FreekVandeursen/token-expire-time
Reduce the access token refresh interval rate.
2 parents 98aea2a + 166aaa5 commit a34e52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Picqer/Financials/Exact/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ private function tokenHasExpired()
596596
return true;
597597
}
598598

599-
return ($this->tokenExpires - 60) < time();
599+
return ($this->tokenExpires - 10) < time();
600600
}
601601

602602
private function formatUrl($endPoint, $includeDivision = true, $formatNextUrl = false)

0 commit comments

Comments
 (0)