Skip to content
#

bittorrent

Here are 602 public repositories matching this topic...

lbry-sdk
lyoshenka
lyoshenka commented Apr 20, 2021

Creating a new issue based on lbryio/lbry-sdk#877

  • Update ensure_directory_exists() to check that the directory is writable by the current process.
  • If it's not, return a useful error
  • Add tests to cover the case when
    • download directory does not exist
    • download dir exists but is not writable
    • dir exists an
type: improvement help wanted good first issue area: downloads
atomashpolskiy
atomashpolskiy commented Dec 16, 2019

Because in CliClient.resume() we don't account for the case, when there is an exception in one of the async processing stages:

void resume() {
	...
	try {
		client.startAsync(state -> {
			printer.ifPresent(p -> p.print(state));
			if (!options.shouldSeedAfterDownloaded() && state.getPiecesRemaining() == 0) {
				runtime.shutdown();
			}
		}, 1000); // <-- CompletableFuture.w

Improve this page

Add a description, image, and links to the bittorrent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bittorrent topic, visit your repo's landing page and select "manage topics."

Learn more