module
Task::Transfer
Direct including types
Defined in:
models/task/mixins/transfer.crConstant Summary
-
Log =
::Log.for(self)
Class Method Summary
-
.is_recipient_down?(recipient_iri : String, tasks : Array(Task)) : Bool
Determines if a recipient should be marked as "down" based on recent delivery history.
Instance Method Summary
- #failures : Array(Failure)
- #failures=(failures : Array(Failure))
- #transfer(activity, from transferer, to recipients)
Class Method Detail
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 80 hours, 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.