mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
set cleanup batch ttl
This commit is contained in:
@@ -64,6 +64,9 @@ class UpdateTorrentSeedersEtc implements ShouldQueue
|
||||
|
||||
$torrentIdArr = explode(",", $this->idStr);
|
||||
foreach ($torrentIdArr as $torrentId) {
|
||||
if ($torrentId <= 0) {
|
||||
continue;
|
||||
}
|
||||
$peerResult = NexusDB::table('peers')
|
||||
->where('torrent', $torrentId)
|
||||
->selectRaw("count(*) as count, seeder")
|
||||
|
||||
Reference in New Issue
Block a user