(oid string, err error)
| 1052 | } |
| 1053 | |
| 1054 | func (q *TransferQueue) canRetryObjectLater(oid string, err error) (time.Time, bool) { |
| 1055 | if count, ok := q.rc.CanRetry(oid); !ok { |
| 1056 | tracerx.Printf("tq: refusing to retry %q, too many retries (%d)", oid, count) |
| 1057 | return time.Time{}, false |
| 1058 | } |
| 1059 | |
| 1060 | return q.canRetryLater(err) |
| 1061 | } |
| 1062 | |
| 1063 | // Errors returns any errors encountered during transfer. |
| 1064 | func (q *TransferQueue) Errors() []error { |
no test coverage detected