mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 05:25:00 +02:00
qfix: Rework span creation (#9613)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -1007,7 +1007,7 @@ export class PlatformWorker {
|
||||
}
|
||||
try {
|
||||
const branding = Object.values(this.brandingMap).find((b) => b.key === workspaceInfo?.branding) ?? null
|
||||
const workerCtx = this.ctx.newChild('worker', { workspace: workspaceInfo.uuid }, {})
|
||||
const workerCtx = this.ctx.newChild('worker', { workspace: workspaceInfo.uuid }, { span: false })
|
||||
|
||||
connecting.set(workspaceInfo.uuid, {
|
||||
time: Date.now(),
|
||||
@@ -1157,8 +1157,10 @@ export class PlatformWorker {
|
||||
const webhook = this.ctx.newChild(
|
||||
'webhook',
|
||||
{},
|
||||
{},
|
||||
new SplitLogger('webhook', { root: join(process.cwd(), 'logs'), pretty: true, enableConsole: false })
|
||||
{
|
||||
logger: new SplitLogger('webhook', { root: join(process.cwd(), 'logs'), pretty: true, enableConsole: false }),
|
||||
span: false
|
||||
}
|
||||
)
|
||||
webhook.info('Register webhook')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user