mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
11 lines
246 B
PHP
11 lines
246 B
PHP
<?php
|
|
|
|
namespace Gazelle\Task;
|
|
|
|
class Peerupdate extends \Gazelle\Task {
|
|
public function run(): void {
|
|
[$updated, /* $skipped */] = new \Gazelle\Manager\Torrent()->updatePeerlists();
|
|
$this->processed += (int)$updated;
|
|
}
|
|
}
|