Skip to content

Commit 75442c9

Browse files
committed
⚡ modification de la duree du cache
1 parent cfe5b49 commit 75442c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/View/Composers/TopContributorsComposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TopContributorsComposer
1010
{
1111
public function compose(View $view)
1212
{
13-
$topContributors = Cache::remember('contributors', 60 * 60 * 24, function () {
13+
$topContributors = Cache::remember('contributors', 60 * 30, function () {
1414
return User::topContributors()
1515
->get()
1616
->filter(fn ($contributor) => $contributor->discussions_count >= 1)

0 commit comments

Comments
 (0)