()
| 232 | } |
| 233 | |
| 234 | func (t *singleObjectTask) initialTimeout() time.Duration { |
| 235 | config := cmn.GCO.Get() |
| 236 | timeout := config.Downloader.Timeout.D() |
| 237 | if t.job.Timeout() != 0 { |
| 238 | timeout = t.job.Timeout() |
| 239 | } |
| 240 | return timeout |
| 241 | } |
| 242 | |
| 243 | // Probably we need to extend the persistent database (db.go) so that it will contain |
| 244 | // also information about specific tasks. |
no test coverage detected