Bumped chunk for custom report

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-02-26 11:59:34 +00:00
parent afabda9235
commit 2f6af10c5d

View file

@ -266,7 +266,7 @@ class ReportsController extends Controller
$actionlogs = Actionlog::with('item', 'user', 'target', 'location', 'adminuser') $actionlogs = Actionlog::with('item', 'user', 'target', 'location', 'adminuser')
->orderBy('created_at', 'DESC') ->orderBy('created_at', 'DESC')
->chunk(20, function ($actionlogs) use ($handle) { ->chunk(500, function ($actionlogs) use ($handle) {
$executionTime = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']; $executionTime = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'];
Log::debug('Walking results: '.$executionTime); Log::debug('Walking results: '.$executionTime);
$count = 0; $count = 0;