From 996317020dedd17dad4d01242fb801011dab03b2 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sun, 18 Oct 2015 13:56:20 +0100 Subject: [PATCH] [HttpKernel] Lookup the response even if the lock was released after 2 seconds --- src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php index 07179faec4..20d5e3d8ca 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php @@ -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;