Skip to content

Commit

Permalink
fix run duration
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jun 9, 2024
1 parent 9672b89 commit 2d10b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ async function executeActions(
await sleep(100);

// update run status "SUCCESS" + duration
const duration = dayjs().diff(runStart, "milliseconds");
const duration = dayjs().diff(runStart, "milliseconds") - 100;
await sendEvent(clientId, "run", {
...run!,
status: "SUCCESS",
Expand Down

0 comments on commit 2d10b83

Please sign in to comment.