[HttpKernel] Lookup the response even if the lock was released after 2 seconds
This commit is contained in:
parent
751f2bebdb
commit
996317020d
@ -544,7 +544,7 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
|||||||
$wait += 50000;
|
$wait += 50000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($wait < 2000000) {
|
if ($wait < 5000000) {
|
||||||
// replace the current entry with the fresh one
|
// replace the current entry with the fresh one
|
||||||
$new = $this->lookup($request);
|
$new = $this->lookup($request);
|
||||||
$entry->headers = $new->headers;
|
$entry->headers = $new->headers;
|
||||||
|
Reference in New Issue
Block a user