Skip to content

Commit 3d3fc2d

Browse files
committed
chore: add todo to seeder
We should handle timeouts errors, that have been added to the API client.
1 parent 2fc2016 commit 3d3fc2d

File tree

1 file changed

+3
-0
lines changed
  • src/console/commands/seeder

1 file changed

+3
-0
lines changed

src/console/commands/seeder/api.rs

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ pub async fn upload_torrent(client: &Client, upload_torrent_form: UploadTorrentM
3535
add_category(client, &upload_torrent_form.category).await;
3636
}
3737

38+
// todo: if we receive timeout error we should retry later. Otherwise we
39+
// have to restart the seeder manually.
40+
3841
let response = client
3942
.upload_torrent(upload_torrent_form.into())
4043
.await

0 commit comments

Comments
 (0)