bulltrackers-module 1.0.298 → 1.0.299
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* FILENAME: computation-system/helpers/computation_dispatcher.js
|
|
3
3
|
* PURPOSE: "Smart Dispatcher" - Analyzes state, initializes Run Counters, and dispatches tasks.
|
|
4
|
-
* UPDATED:
|
|
5
|
-
* UPDATED: Implements Forensic Crash Analysis & Intelligent Resource Routing.
|
|
6
|
-
* FIXED: Implemented "Catch-Up" logic to scan full history (Start -> Target Date) instead of just Target Date.
|
|
4
|
+
* UPDATED: Added per-date logging to visualize progress during large backfills.
|
|
7
5
|
*/
|
|
8
6
|
|
|
9
7
|
const { getExpectedDateStrings, getEarliestDataDates, normalizeName, DEFINITIVE_EARLIEST_DATES } = require('../utils/utils.js');
|
|
@@ -183,6 +181,9 @@ async function dispatchComputationPass(config, dependencies, computationManifest
|
|
|
183
181
|
});
|
|
184
182
|
})));
|
|
185
183
|
|
|
184
|
+
// [UPDATED] Add Heartbeat Log
|
|
185
|
+
logger.log('INFO', `[Dispatcher] Analyzed ${d}: ${validToRun.length} tasks identified.`);
|
|
186
|
+
|
|
186
187
|
} catch (e) {
|
|
187
188
|
logger.log('ERROR', `[Dispatcher] Failed analysis for ${d}: ${e.message}`);
|
|
188
189
|
}
|