Update TodaysPick.php
This commit is contained in:
@@ -20,7 +20,7 @@ class TodaysPick extends Controller
|
||||
*/
|
||||
public function __invoke()
|
||||
{
|
||||
return Cache::remember('articles.todayspick', 300, function () {
|
||||
return Cache::remember('articles.todayspick', 600, function () {
|
||||
return Article::with('topics', 'source')
|
||||
->whereDate('published_date', Carbon::today())
|
||||
->inRandomOrder()
|
||||
|
Reference in New Issue
Block a user