mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Separate execution startedAt from createdAt (#10810)
This commit is contained in:
@@ -47,7 +47,7 @@ export class JobProcessor {
|
||||
|
||||
this.logger.info(`[JobProcessor] Starting job ${job.id} (execution ${executionId})`);
|
||||
|
||||
await this.executionRepository.updateStatus(executionId, 'running');
|
||||
const startedAt = await this.executionRepository.setRunning(executionId);
|
||||
|
||||
let { staticData } = execution.workflowData;
|
||||
|
||||
@@ -137,7 +137,7 @@ export class JobProcessor {
|
||||
workflowId: execution.workflowId,
|
||||
workflowName: execution.workflowData.name,
|
||||
mode: execution.mode,
|
||||
startedAt: execution.startedAt,
|
||||
startedAt,
|
||||
retryOf: execution.retryOf ?? '',
|
||||
status: execution.status,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user