Merged in feature/PMCORE-2736 (pull request #7752)

PMCORE-2736

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
Approved-by: Paula Quispe <paula.quispe@processmaker.com>
This commit is contained in:
Julio Cesar Laura Avendaño
2021-01-20 13:35:04 +00:00
5 changed files with 62 additions and 11 deletions

View File

@@ -82,7 +82,8 @@ class System
'report_table_batch_regeneration' => 1000,
'report_table_floating_number' => 4,
'report_table_double_number' => 4,
'ext_ajax_timeout' => 600000
'ext_ajax_timeout' => 600000,
'disable_task_manager_routing_async' => '0'
];
/**
@@ -1239,6 +1240,11 @@ class System
$config['highlight_home_folder_scope'] = self::$defaultConfig['highlight_home_folder_scope'];
}
$value = $config['disable_task_manager_routing_async'];
if (!is_numeric($value) || !in_array($value, [0, 1])) {
$config['disable_task_manager_routing_async'] = self::$defaultConfig['disable_task_manager_routing_async'];
}
return $config;
}