This commit is contained in:
as2252258@163.com
2021-03-26 01:08:32 +08:00
parent a341734a33
commit 5c72f9bbfa
+1
View File
@@ -133,6 +133,7 @@ class Server extends HttpService
public function start(): string
{
$configs = Config::get('servers', true);
var_dump(Config::get('crontab.enable'));
if (Config::get('crontab.enable') === true) {
$this->addProcess('CrontabZookeeper', CrontabZookeeperProcess::class);
$this->addProcess('CrontabConsumer', Consumer::class);