Delay Only When Needed for Retry

Comments

1 comment

  • Official comment
    Pete Staples

    Something like this should work:

    - ident: SETUP
      steps:
      - command: define DELAY 1
    - ident: RETRIABLE
      retry: 3
      steps:
      # Wait 1ms on first attempt, 1000ms on subsequent events
        - command: sleepms %DELAY%
        - command: define DELAY 1000
        - command: operator "visual inspection"
    Comment actions Permalink

Please sign in to leave a comment.