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 796e187 commit 49b218bCopy full SHA for 49b218b
src/Auth/TokenInfo.php
@@ -20,7 +20,7 @@ public function __construct(string $token, int $expiresAt)
20
{
21
$this->token = $token;
22
$this->expiresAt = $expiresAt;
23
- $this->refreshAt = time() + round(0.1*($this->expiresAt-time()),0);
+ $this->refreshAt = time() + round(TokenInfo::_PRIVATE_REFRESH_RATIO*($this->expiresAt-time()),0);
24
}
25
26
/**
0 commit comments