Skip to content

Commit

Permalink
Merge pull request #662 from City-of-Helsinki/update-configuration
Browse files Browse the repository at this point in the history
Automatic update
  • Loading branch information
rpnykanen authored Jun 14, 2023
2 parents 374fab0 + d375bbc commit a885524
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions public/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
if (PHP_SAPI === 'cli') {
ini_set('memory_limit', '512M');
}
else {
// New relic triggers garbage collector which adds extra time on the request.
// The gc enabled is useful for migration drush commands and probably others.
// For non cli requests, there should not be a case where gc is called / needed.
ini_set('zend.enable_gc', 'Off');
}

if ($simpletest_db = getenv('SIMPLETEST_DB')) {
$parts = parse_url($simpletest_db);
Expand Down

0 comments on commit a885524

Please sign in to comment.