load pieces hash skip error torrent

This commit is contained in:
xiaomlove
2023-07-31 01:00:59 +08:00
parent 98274dbb0d
commit b9118ae8f6
3 changed files with 18 additions and 13 deletions
@@ -33,7 +33,7 @@ class TorrentLoadPiecesHash extends Command
$rep = new TorrentRepository();
$this->info("id: $id, going to load pieces hash...");
$total = $rep->loadPiecesHashCache($id);
$this->info(sprintf("total: %s, cost time: %s seconds.", $total, time() - $begin));
$this->info(sprintf("%s, total: %s, cost time: %s seconds.", nexus()->getRequestId(), $total, time() - $begin));
return Command::SUCCESS;
}
}