Skip to content

Commit ad7aa6e

Browse files
committed
changed to rememberForever, since the token stays valid for 15 minutes after the last usage
1 parent 66f8d64 commit ad7aa6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/FileMakerConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function login()
8787
// retrieve and store the session token
8888
// Store it in the cache if the connection is configured to do so
8989
if ($this->shouldCacheSessionToken) {
90-
$this->sessionToken = Cache::remember($this->sessionTokenCacheKey, 890, function () {
90+
$this->sessionToken = Cache::rememberForever($this->sessionTokenCacheKey, function () {
9191
return $this->fetchNewSessionToken();
9292
});
9393
} else {

0 commit comments

Comments
 (0)