add pieces total left to debug

This commit is contained in:
ghost 2023-12-14 04:40:27 +02:00
parent 555ceee2b2
commit 7ad57d1e96

View File

@ -168,7 +168,7 @@ foreach ((array) $namespaces as $namespace)
$delay = isset($argv[3]) && $argv[3] > 0 ? (int) $argv[3] : 60;
echo sprintf(
'Piece %s sent, waiting %s seconds...' . PHP_EOL,
'Piece %s/%s sent, waiting %s seconds...' . PHP_EOL,
$key,
$total,
$delay