Skip to content

Commit 45e468d

Browse files
committed
RETRIES_EXCEEDED -> MAX_RECOVERY_ATTEMPTS_EXCEEDED
1 parent ca7494d commit 45e468d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dbos/workflow.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ import (
2323
type WorkflowStatusType string
2424

2525
const (
26-
WorkflowStatusPending WorkflowStatusType = "PENDING" // Workflow is running or ready to run
27-
WorkflowStatusEnqueued WorkflowStatusType = "ENQUEUED" // Workflow is queued and waiting for execution
28-
WorkflowStatusSuccess WorkflowStatusType = "SUCCESS" // Workflow completed successfully
29-
WorkflowStatusError WorkflowStatusType = "ERROR" // Workflow completed with an error
30-
WorkflowStatusCancelled WorkflowStatusType = "CANCELLED" // Workflow was cancelled (manually or due to timeout)
31-
WorkflowStatusRetriesExceeded WorkflowStatusType = "RETRIES_EXCEEDED" // Workflow exceeded maximum retry attempts
26+
WorkflowStatusPending WorkflowStatusType = "PENDING" // Workflow is running or ready to run
27+
WorkflowStatusEnqueued WorkflowStatusType = "ENQUEUED" // Workflow is queued and waiting for execution
28+
WorkflowStatusSuccess WorkflowStatusType = "SUCCESS" // Workflow completed successfully
29+
WorkflowStatusError WorkflowStatusType = "ERROR" // Workflow completed with an error
30+
WorkflowStatusCancelled WorkflowStatusType = "CANCELLED" // Workflow was cancelled (manually or due to timeout)
31+
WorkflowStatusRetriesExceeded WorkflowStatusType = "MAX_RECOVERY_ATTEMPTS_EXCEEDED" // Workflow exceeded maximum retry attempts
3232
)
3333

3434
// WorkflowStatus contains comprehensive information about a workflow's current state and execution history.

0 commit comments

Comments
 (0)