PhoenixMicro.Consumer.RetryScheduler (PhoenixMicro v1.0.0)

Copy Markdown View Source

Computes the next retry delay using exponential backoff with optional jitter.

Delegates to PhoenixMicro.Utils.Backoff for the core algorithm.

Summary

Functions

next_delay(attempt, opts)

@spec next_delay(
  pos_integer(),
  keyword()
) :: non_neg_integer()