Sha256: 2cbd9da6c2ca56b8a9ef8dfd04559eb4a30d5e2c76f315ac61dbf12255ebb0c0
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
module PhobosDBCheckpoint class RetryFailure def initialize(failure) @failure = failure end def perform result = retry_failure! @failure.destroy result end private def retry_failure! handler .consume( @failure.payload, @failure.metadata.merge(retry_count: 0) ) end def handler @failure .configured_handler .new end end end
Version data entries
3 entries across 3 versions & 1 rubygems