mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-01 07:52:00 -05:00
fix: typo
This commit is contained in:
@@ -463,7 +463,7 @@ class AnnounceController extends Controller
|
||||
|
||||
$duplicateAnnounceKey = config('cache.prefix').'announce-lock:'.$user->id.'-'.$torrent->id.'-'.$queries['peer_id'].'-'.$event;
|
||||
|
||||
$lastAnnouncedAt = Redis::connection('announce')->command('SET', [$duplicateAnnounceKey, $now, ['NX', 'GET', 'EX => 30]]);
|
||||
$lastAnnouncedAt = Redis::connection('announce')->command('SET', [$duplicateAnnounceKey, $now, ['NX', 'GET', 'EX' => 30]]);
|
||||
|
||||
if ($lastAnnouncedAt !== false) {
|
||||
throw new TrackerException(162, [':elapsed' => $now - $lastAnnouncedAt]);
|
||||
|
||||
Reference in New Issue
Block a user