This commit is contained in:
2021-08-03 10:30:26 +08:00
parent 501c259580
commit 5059a87784
5 changed files with 13 additions and 25 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ class ServerWorker extends \Server\Abstracts\Server
{
$this->_setConfigCache($workerId);
$store = ApplicationStore::getStore()->add();
$store = ApplicationStore::getStore()->instance();
$annotation = Snowflake::app()->getAnnotation();
$annotation->read(APP_PATH . 'app');
@@ -50,7 +50,7 @@ class ServerWorker extends \Server\Abstracts\Server
$this->workerInitExecutor($server, $annotation, $workerId);
$this->interpretDirectory($annotation);
$store->done();
$store->close();
}