Skip to content

Commit 9c84d29

Browse files
committed
[HttpKernel] Lookup the response even if the lock was released after 2 seconds
1 parent 28f0d57 commit 9c84d29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpCache/HttpCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ protected function lock(Request $request, Response $entry)
544544
$wait += 50000;
545545
}
546546

547-
if ($wait < 2000000) {
547+
if ($wait < 5000000) {
548548
// replace the current entry with the fresh one
549549
$new = $this->lookup($request);
550550
$entry->headers = $new->headers;

0 commit comments

Comments
 (0)