mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 11:32:13 +01:00
feat: add repository pattern, service layer architecture, and scheduler management
- Implement repository pattern for data access layer - Add comprehensive service layer for business logic - Create scheduler management system with health monitoring - Add bounded buffer utility for memory management - Enhance security audit logging with retention policies
This commit is contained in:
@ -226,14 +226,14 @@ export const IntegratedBatchProcessor = {
|
||||
),
|
||||
pendingRequests: originalResult.pendingRequests,
|
||||
inProgressBatches:
|
||||
(batchStats["IN_PROGRESS"] || 0) +
|
||||
(batchStats["VALIDATING"] || 0) +
|
||||
(batchStats["UPLOADING"] || 0) +
|
||||
(batchStats["FINALIZING"] || 0),
|
||||
(batchStats.IN_PROGRESS || 0) +
|
||||
(batchStats.VALIDATING || 0) +
|
||||
(batchStats.UPLOADING || 0) +
|
||||
(batchStats.FINALIZING || 0),
|
||||
completedBatches:
|
||||
(batchStats["COMPLETED"] || 0) + (batchStats["PROCESSED"] || 0),
|
||||
(batchStats.COMPLETED || 0) + (batchStats.PROCESSED || 0),
|
||||
failedRequests:
|
||||
(batchStats["FAILED"] || 0) + (batchStats["CANCELLED"] || 0),
|
||||
(batchStats.FAILED || 0) + (batchStats.CANCELLED || 0),
|
||||
};
|
||||
},
|
||||
"getBatchProcessingStats"
|
||||
|
||||
Reference in New Issue
Block a user