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

Update TaskSet to use deque #2667

Closed
wants to merge 1 commit into from

Conversation

Hchanni
Copy link

@Hchanni Hchanni commented Apr 5, 2024

Saw a comment in Issue #2653 and thought I'd give it a try, just updates the insertion to the first element to use appendleft and also updates the type of _task_queue to use the collections deque.

@Hchanni
Copy link
Author

Hchanni commented Apr 6, 2024

Interesting, so I tried the test python -m tox -e fail_fast_test_main locally, and seems to fail even if I were to remove my changes. Any ideas?

@Hchanni Hchanni closed this Apr 6, 2024
@cyberw
Copy link
Collaborator

cyberw commented Apr 6, 2024

Did you figure it out?

@Hchanni
Copy link
Author

Hchanni commented Apr 6, 2024

Did you figure it out?

Not yet, spinning up a new branch and messing with the tests, it’s weird cause the tests are failing even on a non altered master branch, for some reason the workers just don’t connect and it times our.

@cyberw
Copy link
Collaborator

cyberw commented Apr 6, 2024

👍 let me know if you need help.

@cyberw
Copy link
Collaborator

cyberw commented May 3, 2024

@Hchanni I tweaked your solution a little and made a new PR. Thanks for the inspiration :)

@Hchanni
Copy link
Author

Hchanni commented May 3, 2024

Oh shoot thanks for getting the fix out @cyberw got wrapped up with some locust stuff at work haha and didn't get a chance to actually dig into it. I'll take a look at the PR I'm actually curious to see why mine was failing

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