Bumped chunk for custom report
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
afabda9235
commit
2f6af10c5d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue