Skip to content

Warn about sharing an event dispatcher between workers - #53

Merged
DavidBadura merged 1 commit into
1.6.xfrom
docs-shared-event-dispatcher
Oct 2, 2026
Merged

DavidBadura merged 1 commit into
1.6.xfrom
docs-shared-event-dispatcher

Conversation

@DavidBadura

Copy link
Copy Markdown
Member

create() registers the limit listeners on the event dispatcher that is passed in. If several workers are created with the same dispatcher, they all end up with each other's limits, e.g. a worker with runLimit 100 stops after 10 runs because another worker registered that limit. Fixing this in code would add a lot of complexity for a rare setup, so this only documents it.

@DavidBadura DavidBadura added the documentation Improvements or additions to documentation label Oct 2, 2026
@DavidBadura DavidBadura added this to the 1.6.0 milestone Oct 2, 2026
@DavidBadura
DavidBadura merged commit ddb136a into 1.6.x Oct 2, 2026
16 checks passed
@DavidBadura
DavidBadura deleted the docs-shared-event-dispatcher branch October 2, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants