Ken преди 1 месец
родител
ревизия
cf715330ac
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/FixtureService.php

+ 1 - 1
app/Services/FixtureService.php

@@ -35,7 +35,7 @@ static function oddsLive($id)
         $res = Client::oddsLive(['fixture' => $id]);
         if (count($res['response']) <= 0) return [];
         $res = $res['response'][0];
-        Cache::put($key, $res, 3);
+        Cache::put($key, $res, 5);
         return $res;
     }