Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify pool on init #22

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Identify pool on init #22

merged 1 commit into from
Nov 14, 2023

Conversation

andrewMacmurray
Copy link
Owner

@andrewMacmurray andrewMacmurray commented Nov 7, 2023

Resolves #19

When a task Pool is initialised it now asks the runner for a unique id before any tasks are executed (the runner keeps track of the number of pools that have been initialised).

This prevents some weird behaviour seen in a typical single page app setup where switching back and forth between pages with long running tasks (e.g. Page1 and Page2 would mean a page might receive task results from a previous page init.

@andrewMacmurray andrewMacmurray merged commit ff4467a into main Nov 14, 2023
4 checks passed
@andrewMacmurray andrewMacmurray deleted the identify-pool branch November 14, 2023 17:53
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.

Multiple pools per ports
1 participant