]> git.localhorst.tv Git - alttp.git/commitdiff
increase sg sync lookahead
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 22 Feb 2023 09:07:24 +0000 (10:07 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 22 Feb 2023 09:07:24 +0000 (10:07 +0100)
app/Console/Commands/SyncSpeedGaming.php

index c2fa36820af063ed59cc6f62482f4e2e129ae49e..75f3cbcda567f034529619352f969bf820b9a569 100644 (file)
@@ -61,7 +61,7 @@ class SyncSpeedGaming extends Command {
        private function syncEvent(Event $event) {
                $sgHandle = substr($event->external_schedule, 3);
                $from = now()->sub(1, 'day');
-               $to = now()->add(6, 'day');
+               $to = now()->add(14, 'day');
                $sgSchedule = HTTP::get('https://speedgaming.org/api/schedule/', [
                        'event' => $sgHandle,
                        'from' => $from->toIso8601String(),