8000 Merge branch '4.3' into 4.4 · symfony/cache-contracts@af50d14 · GitHub
[go: up one dir, main page]

Skip to content

Commit af50d14

Browse files
Merge branch '4.3' into 4.4
* 4.3: [Intl] Update the ICU data to 65.1 (4.3 branch) Replace deprecated calls in tests [Intl] Update the ICU data to 65.1 Delete 5_Security_issue.md [DI] Whitelist validator.auto_mapper in UnusedTagsPass [HttpClient] Fixed #33832 NO_PROXY option ignored in NativeHttpClient::request() method [Cache] give 100ms before starting the expiration countdown [Cache] fix logger usage in CacheTrait::doGet() [VarDumper] fix dumping uninitialized SplFileInfo Added missing translations. Fixed invalid changelog 4.0.0 for VarDumper Fixed invalid VarDumper upgrade doc. [HttpFoundation] Check if data passed to SessionBagProxy::initialize is an array Don't let falsey usernames slip through
2 parents 5601f79 + 437f447 commit af50d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CacheTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private function doGet(CacheItemPoolInterface $pool, string $key, callable $call
5656
if ($recompute = $ctime && $expiry && $expiry <= ($now = microtime(true)) - $ctime / 1000 * $beta * log(random_int(1, PHP_INT_MAX) / PHP_INT_MAX)) {
5757
// force applying defaultLifetime to expiry
5858
$item->expiresAt(null);
59-
$this->logger && $this->logger->info('Item "{key}" elected for early recomputation {delta}s before its expiration', [
59+
$logger && $logger->info('Item "{key}" elected for early recomputation {delta}s before its expiration', [
6060
'key' => $key,
6161
'delta' => sprintf('%.1f', $expiry - $now),
6262
]);

0 commit comments

Comments
 (0)
0