Skip to content

Commit

Permalink
Tre dagar tebax
Browse files Browse the repository at this point in the history
  • Loading branch information
bonny committed May 11, 2024
1 parent c99c89a commit 1a91102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public function mostViewedRecently(Request $request, Response $response) {
public function eventsMap() {

$cacheSeconds = 5 * 60;
$daysBack = 7;
$daysBack = 3;
$cacheKey = __METHOD__ . "_{$daysBack}";

$events = Cache::remember($cacheKey, $cacheSeconds, function () use ($daysBack) {
Expand Down

0 comments on commit 1a91102

Please sign in to comment.