From 2f6af10c5d0e3866b18a96884fffd6fb5401457d Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 26 Feb 2025 11:59:34 +0000 Subject: [PATCH] Bumped chunk for custom report Signed-off-by: snipe --- app/Http/Controllers/ReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index f0bbfb74a..ca893d310 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -266,7 +266,7 @@ class ReportsController extends Controller $actionlogs = Actionlog::with('item', 'user', 'target', 'location', 'adminuser') ->orderBy('created_at', 'DESC') - ->chunk(20, function ($actionlogs) use ($handle) { + ->chunk(500, function ($actionlogs) use ($handle) { $executionTime = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']; Log::debug('Walking results: '.$executionTime); $count = 0;