Skip to content

Commit d927db1

Browse files
committed
chore: remove verbose comment in cancel route
1 parent d47d591 commit d927db1

File tree

1 file changed

+0
-3
lines changed
  • apps/sim/app/api/workflows/[id]/executions/[executionId]/cancel

1 file changed

+0
-3
lines changed

apps/sim/app/api/workflows/[id]/executions/[executionId]/cancel/route.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ export async function POST(
8686
})
8787
}
8888

89-
// For running executions, update DB directly so the UI sees 'cancelled' immediately
90-
// instead of flashing back to 'running' before the executor finishes processing.
91-
// Paused executions are already handled by cancelPausedExecution's transaction.
9289
if ((cancellation.durablyRecorded || locallyAborted) && !pausedCancelled) {
9390
try {
9491
await db

0 commit comments

Comments
 (0)