Skip to content

feat(workpool): support shared batch execution and failure recovery - #21

Draft
ianmacartney wants to merge 3 commits into
mainfrom
ian/batch-worker-workpool
Draft

ianmacartney wants to merge 3 commits into
mainfrom
ian/batch-worker-workpool

Conversation

@ianmacartney

Copy link
Copy Markdown
Member

feat(workpool): support shared batch execution and failure recovery

docs(examples): demonstrate per-user workers sharing a Workpool

perf(bench): compare scheduler and Workpool execution cadence

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@convex-dev/batch-worker@21

commit: 524c9b0

Comment thread src/client/index.ts
Comment on lines +125 to +130
...(args.workpool.options.maxParallelism !== undefined
? { maxParallelism: args.workpool.options.maxParallelism }
: {}),
...(args.workpool.options.logLevel !== undefined
? { logLevel: args.workpool.options.logLevel }
: {}),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reeceyang I'm excited about getting component args/env, and may want to just wait for that. At this point it requires passing in those arguments so the BatchWorker can pass the arguments to enqueue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant