X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=settings%2FMailing.setting.php;h=17e5b692180b799e5e1060a7701206eb1f97a152;hb=c440c091a1215bc6256e79ad2a61685251f1e18b;hp=2e2640956a7fc7bb5fc93b1ccb939007c0640a68;hpb=bdb7b3ff54e9553345390726890914df04ea2f09;p=civicrm-core.git diff --git a/settings/Mailing.setting.php b/settings/Mailing.setting.php index 2e2640956a..17e5b69218 100644 --- a/settings/Mailing.setting.php +++ b/settings/Mailing.setting.php @@ -369,4 +369,25 @@ return [ 'description' => ts('If checked, mailings will have open tracking enabled by default.'), 'help_text' => NULL, ], + // dev/cor#1768 Allow mailer sync interval to be configured by the + // adminstrator. + 'civimail_sync_interval' => [ + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'civimail_sync_interval', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => [ + 'size' => 4, + 'maxlength' => 8, + ], + 'default' => 10, + 'title' => ts('Database Update Frequency'), + 'add' => '5.28', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('The frequency that CiviMail updates its sent mail database.'), + 'help_text' => 'CiviMail records email sent at the frequency you specify. If you set it to 1, it will update the database every time it sends an email. This ensures that emails are not resent if the batch job fails, but this may cause a performance hit, particularly for large jobs.', + ], ];