Skip to content

Commit

Permalink
Expose TaskMeta and EnqueueTime to tasks as persons may prefer
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcopenhaver committed Aug 13, 2024
1 parent e587700 commit e5f3295
Show file tree
Hide file tree
Showing 7 changed files with 563 additions and 57 deletions.
19 changes: 19 additions & 0 deletions loadtester/do_phase.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package loadtester

type doPhase uint8

const (
doPhaseInvalid doPhase = iota
doPhaseDo
doPhaseRetry
doPhaseCanRetry
)

func (p doPhase) String() string {
return []string{
"",
"do",
"retry",
"can-retry",
}[p]
}
Loading

0 comments on commit e5f3295

Please sign in to comment.