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

Move the vu context creation during iteration #994

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Aug 7, 2023

Description of changes

The context in the vu is not thread safe outside of the iteration or the start or end of the vu. By retrieving the vu's context inside the iteration we are working with the vu's context in a thread safe way.

Checklist

Copy link
Collaborator

@ka3de ka3de left a comment

Choose a reason for hiding this comment

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

LGTM.

The context in the vu is not thread safe outside of the iteration or
the start or end of the vu. By retrieving the vu's context inside the
iteration we are working with the vu's context in a thread safe way.
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

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

👍

@ankur22 ankur22 merged commit 54e657a into main Aug 7, 2023
12 checks passed
@ankur22 ankur22 deleted the fix/race-event-ctx branch August 7, 2023 12:44
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.

3 participants