Skip to content
#

magnet-link

Here are 100 public repositories matching this topic...

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
hjohn
hjohn commented Sep 18, 2017

I discovered that verifying hashes with -c is much slower than generating them.

I was using this command:

rhash -c --skip-ok download.sfv

iotop reported disk read speeds of 30 MB/sec and rhash was consuming 100% CPU.

Then I thought, how does rhash know that the SFV file contains MD5 hashes? It probably doesn't, and it runs all checksum algorithms when doing a check and see

Improve this page

Add a description, image, and links to the magnet-link 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 magnet-link topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.