This commit is contained in:
2020-11-11 10:55:22 +08:00
parent 4d3d48c7ce
commit 0ae74060fc
-2
View File
@@ -62,7 +62,6 @@ trait Action
$this->close($server); $this->close($server);
} }
} }
clearstatcache(true);
Snowflake::clearWorkerId(); Snowflake::clearWorkerId();
} }
@@ -91,7 +90,6 @@ trait Action
private function masterIdCheck() private function masterIdCheck()
{ {
echo '.'; echo '.';
clearstatcache(true);
$files = new \DirectoryIterator($this->getWorkerPath()); $files = new \DirectoryIterator($this->getWorkerPath());
if ($files->getSize() < 1) { if ($files->getSize() < 1) {
return false; return false;