File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,25 +95,6 @@ const loadConfigForVersion = (dataModelVersion) => {
9595 // Merge with defaults to ensure all fields are present
9696 mergeObjects ( unifiedConfig , defaultConfig ) ;
9797
98- // Migrate shipped task-interval defaults when they match a known prior default.
99- // mergeObjects only fills missing keys, so existing configs keep stale values
100- // until upgraded here. User-customized values are left alone.
101- if ( unifiedConfig ?. APP ?. TASKS ) {
102- const tasks = unifiedConfig . APP . TASKS ;
103- if ( tasks . GOVERNANCE_SYNC_TASK_INTERVAL === 30 ) {
104- tasks . GOVERNANCE_SYNC_TASK_INTERVAL = 300 ;
105- }
106- if ( tasks . PICKLIST_SYNC_TASK_INTERVAL === 30 || tasks . PICKLIST_SYNC_TASK_INTERVAL === 60 ) {
107- tasks . PICKLIST_SYNC_TASK_INTERVAL = 300 ;
108- }
109- if ( tasks . MIRROR_CHECK_TASK_INTERVAL === 300 ) {
110- tasks . MIRROR_CHECK_TASK_INTERVAL = 900 ;
111- }
112- if ( tasks . DEFAULT_ORGANIZATIONS_SYNC_TASK_INTERVAL !== undefined ) {
113- delete tasks . DEFAULT_ORGANIZATIONS_SYNC_TASK_INTERVAL ;
114- }
115- }
116-
11798 // Extract the appropriate section based on version
11899 // Keep APP nested for compatibility with existing code (getConfig().APP.LOG_LEVEL)
119100 let mergedConfig ;
You can’t perform that action at this time.
0 commit comments