diff --git a/src/Jobs/UpdateCharacterFilters.php b/src/Jobs/UpdateCharacterFilters.php index d9ad3347f..1871f8a51 100644 --- a/src/Jobs/UpdateCharacterFilters.php +++ b/src/Jobs/UpdateCharacterFilters.php @@ -45,8 +45,8 @@ public function tags() */ public function handle() { - // without chunking, we can run out of memory on large installs - CharacterInfo::chunk(200, function ($characters) { + // Without chunking, we can run out of memory on large installs. + CharacterInfo::with('user.squads')->chunk(5, function ($characters) { foreach ($characters as $character){ event(new CharacterFilterDataUpdate($character)); }