run begins the transfer queue. It transfers files sequentially or concurrently depending on the Config.ConcurrentTransfers() value.
()
| 1021 | // run begins the transfer queue. It transfers files sequentially or |
| 1022 | // concurrently depending on the Config.ConcurrentTransfers() value. |
| 1023 | func (q *TransferQueue) run() { |
| 1024 | tracerx.Printf("tq: running as batched queue, batch size of %d", q.batchSize) |
| 1025 | |
| 1026 | go q.errorCollector() |
| 1027 | go q.collectBatches() |
| 1028 | } |
| 1029 | |
| 1030 | // canRetry returns whether or not the given error "err" is retriable. |
| 1031 | func (q *TransferQueue) canRetry(err error) bool { |
no test coverage detected