X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCore.setting.php;h=531050eb36968e56cb6feb3a9e99c5049f2c0f5a;hb=e9299e88c5a4ced58f0b63e48804af3f6e833761;hp=ce2c88fa9b58a4d7bb9ca45a3180343938f15830;hpb=4237e5ceff2dc3b24b7b4849f8527f689bf07fef;p=civicrm-core.git diff --git a/settings/Core.setting.php b/settings/Core.setting.php index ce2c88fa9b..531050eb36 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -294,6 +294,23 @@ return array( 'description' => NULL, 'help_text' => NULL, ), + 'smart_group_cache_refresh_mode' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'smart_group_cache_refresh_mode', + 'type' => 'String', + 'html_type' => 'radio', + 'default' => 'opportunistic', + 'add' => '4.7', + 'title' => 'Smart Group Refresh Mode', + 'is_domain' => 1, + 'is_contact' => 0, + 'pseudoconstant' => array( + 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes', + ), + 'description' => 'Should the smart groups be by cron jobs or user actions', + 'help_text' => 'In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.', + ), 'installed' => array( 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group_name' => 'CiviCRM Preferences',