mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 09:48:05 +02:00
reduce memory_limit a bit
This commit is contained in:
parent
61a912e2a5
commit
9fee48603b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ use CRM_Core_DAO;
|
||||||
class Sync extends \Civi\Api4\Generic\AbstractAction {
|
class Sync extends \Civi\Api4\Generic\AbstractAction {
|
||||||
|
|
||||||
public function _run(Result $result) {
|
public function _run(Result $result) {
|
||||||
ini_set('memory_limit', '512M');
|
ini_set('memory_limit', '256M');
|
||||||
Civi::log()->debug('Begin', ['=start' => 'ContactCatSync', '=timed' => 1]);
|
Civi::log()->debug('Begin', ['=start' => 'ContactCatSync', '=timed' => 1]);
|
||||||
$settings = Civi::settings()->get('contact_categories');
|
$settings = Civi::settings()->get('contact_categories');
|
||||||
$settings = Setting::get(FALSE)
|
$settings = Setting::get(FALSE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue