OS-Guild / dqd

Dequeue daemon
MIT License
35 stars 3 forks source link

Add health checking, pass build #18

Closed Yshayy closed 4 years ago

Yshayy commented 4 years ago

Fixes #11

Example Scenarios for health checks

  1. Error connecting to source for each pipe ->
    1. Pause
    2. Configuration error -> should panic
    3. Connectivity error -> should retry
      1. Eventually should switch to unhealthy
  2. Handler check for each pipe
    1. Pause
    2. Connectivity error -> should retry
      1. Eventually should switch to unhealthy
  3. Handler % errors in x duration in a pipe
    1. Should pause.
    2. Should try to recover
    3. Eventually should switch to unhealthy