视频解密优化

This commit is contained in:
xuncha
2026-02-02 22:57:40 +08:00
parent 216f201327
commit 638246e74d
4 changed files with 118 additions and 34 deletions

View File

@@ -191,7 +191,7 @@ export class WcdbCore {
}
private isLogEnabled(): boolean {
if (process.env.WEFLOW_WORKER === '1') return false
// 移除 Worker 线程的日志禁用逻辑,允许在 Worker 中记录日志
if (process.env.WCDB_LOG_ENABLED === '1') return true
return this.logEnabled
}