Skip to content

Commit

Permalink
Merge pull request #544 from bugsnag/fix/fixture-memory
Browse files Browse the repository at this point in the history
updated memory limit in fixture
  • Loading branch information
tomlongridge authored Nov 15, 2024
2 parents 319a67c + ee83585 commit 257e862
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion features/fixtures/laravel11/bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Illuminate\Foundation\Application;
use Bugsnag\BugsnagLaravel\OomBootstrapper;
use Bugsnag\BugsnagLaravel\Facades\Bugsnag;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

Expand All @@ -23,4 +24,8 @@
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();
})
->booted(function(){
Bugsnag::setMemoryLimitIncrease($value = 6 * 1024 * 1024);
})
->create();

0 comments on commit 257e862

Please sign in to comment.