mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-17 22:10:29 +00:00
Remove redundant worker creation log statements
Deleted duplicate and unnecessary log messages related to worker process creation and spawning to reduce log clutter.
This commit is contained in:
parent
3a880e389b
commit
9ba6b2ed40
@ -156,7 +156,6 @@ async function startWorker (): Promise<void> {
|
||||
});
|
||||
|
||||
currentWorker = child;
|
||||
logger.log(`[NapCat] [${processType}] 已创建Worker进程,PID: ${child.pid}`);
|
||||
|
||||
// 监听标准输出(直接转发)
|
||||
if (child.stdout) {
|
||||
@ -195,7 +194,6 @@ async function startWorker (): Promise<void> {
|
||||
}
|
||||
});
|
||||
|
||||
// 监听子进程生成
|
||||
child.on('spawn', () => {
|
||||
logger.log(`[NapCat] [${processType}] Worker进程已生成`);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user