fix: typo

This commit is contained in:
HDVinnie
2023-10-06 05:23:02 -04:00
parent e1ea7b1c68
commit 22b538ffc0
+1 -1
View File
@@ -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]);