国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

webman 文件監(jiān)控 GatewayWorker

webmanchin

問題描述

webman 使用 GatewayWorker的時(shí)候 文件監(jiān)控 監(jiān)控不到GatewayWorker 的文件,改哪里可以監(jiān)控它

1223 3 1
3個(gè)回答

webmanchin

webman的 Monitor 這個(gè) 怎么改 監(jiān)控到webman webman/plugin/webman/gateway 這個(gè)目錄

  • 暫無評(píng)論
taozywu

webman的 Monitor 這個(gè) 怎么改 監(jiān)控到webman webman/plugin/webman/gateway 這個(gè)目錄

config/process.php

return [
    // File update detection and automatic reload
    'monitor' => [
        'handler' => process\Monitor::class,
        'reloadable' => false,
        'constructor' => [
            // Monitor these directories
            'monitor_dir' => [
                app_path(),
                config_path(),
                base_path() . '/process',
                base_path() . '/support',
                base_path() . '/resource',
                base_path() . '/.env',
                base_path() . '/plugin/webman/gateway',
            ],
            // Files with these suffixes will be monitored
            'monitor_extensions' => [
                'php', 'html', 'htm', 'env'
            ]
        ]
    ]
];
  • 小W 2022-10-18

    這個(gè)監(jiān)控生產(chǎn)環(huán)境建議使用嗎?

taozywu

你是想做平滑重啟是這樣嗎?

可以參考http://wtbis.cn/doc/workerman/faq/reload-principle.html

  • 暫無評(píng)論
年代過于久遠(yuǎn),無法發(fā)表回答
??