[HttpKernel] Lookup the response even if the lock was released after 2 seconds

This commit is contained in:
Jakub Zalas 2015-10-18 13:56:20 +01:00
parent 751f2bebdb
commit 996317020d

View File

@ -544,7 +544,7 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
$wait += 50000;
}
if ($wait < 2000000) {
if ($wait < 5000000) {
// replace the current entry with the fresh one
$new = $this->lookup($request);
$entry->headers = $new->headers;