[HttpKernel] clearstatcache() so the Cache sees when a .lck file has been released
This commit is contained in:
parent
613910bc9f
commit
982710ff18
@ -106,7 +106,10 @@ class Store implements StoreInterface
|
|||||||
|
|
||||||
public function isLocked(Request $request)
|
public function isLocked(Request $request)
|
||||||
{
|
{
|
||||||
return is_file($this->getPath($this->getCacheKey($request).'.lck'));
|
$path = $this->getPath($this->getCacheKey($request).'.lck');
|
||||||
|
clearstatcache(true, $path);
|
||||||
|
|
||||||
|
return is_file($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user