mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
passkey guard + cleanup batch lefttime
This commit is contained in:
@@ -31,7 +31,7 @@ class TorrentLoadPiecesHash extends Command
|
||||
$begin = time();
|
||||
$id = $this->option('id');
|
||||
$rep = new TorrentRepository();
|
||||
$this->info("id: $id");
|
||||
$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));
|
||||
return Command::SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user