module

Task::Transfer

Constants

Log = ::Log.for(self)

Class methods

recipient_down?(recipient_iri : String, tasks : Array(Task)) : Bool

Determines if a recipient should be marked as "down" based on recent delivery history.

A recipient is considered "down" if there are 3+ delivery failures spanning at least DOWN_DETECTION_SPAN, with no successful deliveries to that recipient since the earliest failure.

A delivery is deemed successful when the recipient is not in the failures list.

Source

Instance methods

failures
Source
failures=(failures : Array(Failure))
Source
transfer(activity, from transferer, to recipients)
Source

Nested types