still trying
This commit is contained in:
parent
682b50d3b2
commit
716c90060a
4 changed files with 110 additions and 130 deletions
|
|
@ -50,24 +50,14 @@ const result = await processSymbols(['AAPL', 'GOOGL'], queueManager, {
|
|||
provider: 'yahoo',
|
||||
totalDelayMs: 300000,
|
||||
useBatching: false,
|
||||
priority: 1
|
||||
priority: 1,
|
||||
service: 'market-data',
|
||||
provider: 'yahoo',
|
||||
operation: 'live-data'
|
||||
});
|
||||
```
|
||||
|
||||
### 3. `processProxies()` - Proxy validation
|
||||
|
||||
```typescript
|
||||
import { processProxies } from '../utils/batch-helpers';
|
||||
|
||||
const result = await processProxies(proxies, queueManager, {
|
||||
totalDelayMs: 3600000,
|
||||
useBatching: true,
|
||||
batchSize: 200,
|
||||
priority: 2
|
||||
});
|
||||
```
|
||||
|
||||
### 4. `processBatchJob()` - Worker batch handler
|
||||
### 3. `processBatchJob()` - Worker batch handler
|
||||
|
||||
```typescript
|
||||
import { processBatchJob } from '../utils/batch-helpers';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue