canRetryLater returns the number of seconds until an error can be retried and if the error is a delayed-retriable error.
(err error)
| 1035 | // canRetryLater returns the number of seconds until an error can be retried and if the error |
| 1036 | // is a delayed-retriable error. |
| 1037 | func (q *TransferQueue) canRetryLater(err error) (time.Time, bool) { |
| 1038 | return errors.IsRetriableLaterError(err) |
| 1039 | } |
| 1040 | |
| 1041 | // canRetryObject returns whether the given error is retriable for the object |
| 1042 | // given by "oid". If the an OID has met its retry limit, then it will not be |
no test coverage detected