thing im pretty much done with extracting the queue and making it reususable, maybe just a few more change to be able to making the batch names a bit more specific
This commit is contained in:
parent
ad5e353ec3
commit
e8c90532d5
14 changed files with 117 additions and 93 deletions
|
|
@ -54,7 +54,7 @@ async function basicUsageExample() {
|
|||
const symbols = ['GOOGL', 'MSFT', 'TSLA', 'AMZN'];
|
||||
|
||||
const result = await processItems(symbols, queueManager, {
|
||||
totalDelayMs: 30000, // 30 seconds total
|
||||
totalDelayHours: 0.0083, // 30 seconds
|
||||
useBatching: true,
|
||||
batchSize: 2,
|
||||
priority: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue