queue-core: Redis Streams implementation
- Redis Streams implementation with consumer groups (ade-workers) - Task interface with serialization/deserialization - Worker with heartbeat (5s) and task claiming - Retry logic with exponential backoff and jitter - Delayed task support via Sorted Sets - Dead worker reclamation (30s timeout) - Unit tests: 26 passing - TypeScript compilation successful
This commit is contained in:
13
jest.config.js
Normal file
13
jest.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
roots: ['<rootDir>/tests'],
|
||||
testMatch: ['**/*.test.ts'],
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.ts',
|
||||
'!src/**/*.d.ts',
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user