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

Refresh worker environment after update #153

Merged
merged 10 commits into from
Nov 28, 2024
Merged

Refresh worker environment after update #153

merged 10 commits into from
Nov 28, 2024

Conversation

richfitz
Copy link
Member

After we update the rrq environment we should send an environment refresh request to any active workers, otherwise people will be confused that their tasks don't use the new environment (this is noticed in the docs already in #140).

This does mean that if a user creates the rrq controller, creates the rrq env and then launches workers, the workers will load the environment twice but that's fine.

@richfitz richfitz marked this pull request as ready for review November 28, 2024 14:23
@richfitz richfitz requested a review from weshinsley November 28, 2024 14:26
@@ -9,6 +9,7 @@ vignette: >

```{r setup, include = FALSE}
source("common.R")
options(hipercow.timeout = 120)
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably don't need this any more, but it doesn't matter either

@richfitz richfitz merged commit 87f416d into main Nov 28, 2024
8 checks passed
@richfitz richfitz deleted the mrc-6074 branch November 28, 2024 15:04
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.

2 participants