app/models/setting/foreman_tasks.rb in foreman-tasks-1.1.3 vs app/models/setting/foreman_tasks.rb in foreman-tasks-1.2.0
- old
+ new
@@ -1,10 +1,9 @@
class Setting::ForemanTasks < Setting
def self.default_settings
[
set('foreman_tasks_sync_task_timeout', N_('Number of seconds to wait for synchronous task to finish.'), 120),
- set('dynflow_allow_dangerous_actions', N_('Allow unlocking actions which can have dangerous consequences.'), false),
set('dynflow_enable_console', N_('Enable the dynflow console (/foreman_tasks/dynflow) for debugging'), true),
set('dynflow_console_require_auth', N_('Require user to be authenticated as user with admin rights when accessing dynflow console'), true),
set('foreman_tasks_proxy_action_retry_count', N_('Number of attempts to start a task on the smart proxy before failing'), 4),
set('foreman_tasks_proxy_action_retry_interval', N_('Time in seconds between retries'), 15),
set('foreman_tasks_proxy_batch_trigger', N_('Allow triggering tasks on the smart proxy in batches'), true),
@@ -22,8 +21,9 @@
]
end
def self.load_defaults
Setting::BLANK_ATTRS.push('foreman_tasks_troubleshooting_url')
+ Setting::NONZERO_ATTRS.push('foreman_tasks_polling_multiplier')
super
end
end