retryDelay property

Duration retryDelay
finalinherited

How long to wait before retrying a batch that was handed back through the retry buffer.

Applies only after a batch returned entries, so a handler that keeps up pays nothing. Retries always go through the event loop, never the microtask queue, so a permanently unavailable sink can no longer starve timers, I/O or the application's own close call — but with the default Duration.zero the queue still retries as fast as the event loop allows. Set a non-zero value when the sink can be down for a while.

Implementation

final Duration retryDelay;