stuckworkflows

package
v0.0.0-...-94a9b73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

This fixture starts few stuck workflows:

  • no running worker listening on a task queue
  • activity that fails and is being infinitely retried

Used in:

  • Web UI development

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StuckWorkflow

func StuckWorkflow(ctx workflow.Context) error

StuckWorkflow workflow definition

func StuckWorkflowActivity

func StuckWorkflowActivity(ctx context.Context) error

StuckWorkflowActivity process batchSize of jobs starting from firstTaskID. This activity will heartbeat to report progress, and it could fail sometimes. Use retry policy to retry when it failed, and resume from reported progress.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL