Преглед изворни кода

Update src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

Arnaud Buathier пре 13 година
родитељ
комит
fbed9ff8de
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

+ 2 - 1
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

@@ -503,7 +503,8 @@ class HttpCache implements HttpKernelInterface
             // wait for the lock to be released
             $wait = 0;
             while (file_exists($lock) && $wait < 5000000) {
-                usleep($wait += 50000);
+                usleep(50000);
+                $wait += 50000;
             }
 
             if ($wait < 2000000) {