Skip to content

Commit 3c7f799

Browse files
committed
config: disable auto save
1 parent 9950ad1 commit 3c7f799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iTXTech/SimpleFramework/Framework.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function start(bool $useMainThreadTick = true, array $argv = []){
254254
"auto-load-modules" => true,
255255
"async-workers" => 2,
256256
"log-file" => "",
257-
"log-level" => 1,
257+
"log-level" => Logger::INFO,
258258
"display-title" => true,
259259
"wsmdr" => [//WraithSpireModuleDependencyResolver
260260
"enabled" => true,
@@ -357,7 +357,7 @@ public function stop(){
357357
$this->moduleManager->unloadModule($module);
358358
}
359359
}
360-
$this->config->save();
360+
//$this->config->save();
361361
$this->scheduler->cancelAllTasks();
362362
$this->scheduler->mainThreadHeartbeat(PHP_INT_MAX);
363363
$this->console->shutdown();

0 commit comments

Comments
 (0)