Skip to content

Commit

Permalink
feat: run the Garbage Collector after each BatchDaemon iteration (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMage authored Feb 4, 2021
1 parent 5997ed2 commit f168f07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/src/Batch/BatchDaemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function run()
}
// Reload the config
$this->runner->loadConfig();
gc_collect_cycles();
}
}

Expand Down

0 comments on commit f168f07

Please sign in to comment.