-
Notifications
You must be signed in to change notification settings - Fork 490
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
Switched to AsyncKeyedLock #877
base: master
Are you sure you want to change the base?
Switched to AsyncKeyedLock #877
Conversation
@openbullet :) |
Hey sorry I didn't have time to look into this yet, will do soon ^^' |
gentle reminder :) |
@openbullet asked me to try it. |
Hi, What would be the easiest way to reproduce this issue please so that I could maybe debug? Or would you kindly be able to debug and tell me where the issue lies please? |
Simply try to start a job with proxies. |
@meinname I'm going to need more info to replicate this issue please. Also can you try again please? |
@meinname please let me know. I've also updated to the latest version of the library with performance improvements. |
Still. When starting a Job with proxies off it seems to work. |
Would you be so kind as to dumb it down into steps with screenshots to reproduce? And can you confirm that without the PR it does not give an issue? |
I don't know hot to dumb it down more - but i try First i check out ob2 master to a new directory and publish it to a new directory.
and add a few simple proxies on ob2 proxy tab to a new group. I create a new multirun job and then do the same but with the PR merged |
That looks very helpful actually @meinname, thanks I'll look at it probably over the weekend. |
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
@MarkCiliaVincenti Hello, first thank for your contribution, could please resolve the merge conflict to get this reviewed ? |
I took a look at the updated code and I tried my best to see how I could get the AsyncKeyedLock library to work with OpenBullet2 but I don't understand what that LoliCodeBlockInstance is. More importantly for you guys is that the current AsyncLocker class is not just very inefficient but worse than that has obvious race conditions. You will need to refactor your code. |
This PR will reduce memory allocations and memory usage.