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

Queue improvements #13

Open
krystian-panek-vmltech opened this issue Mar 19, 2025 · 0 comments
Open

Queue improvements #13

krystian-panek-vmltech opened this issue Mar 19, 2025 · 0 comments

Comments

@krystian-panek-vmltech
Copy link
Collaborator

krystian-panek-vmltech commented Mar 19, 2025

now the same queue is used to do 'canRun' and do 'doRun'
however it make block some scripts unintentionally because e.g. when executing in console some script, then for a little moment enabled scripts will be in queue and they will be in 'queued' state telling the console that it cannot be run because queue is false-positively not idle

possible resolutions:

  • not use queue to check 'canRun' in ScriptScheduler; just do it sequentially and sync, and then only do 'doRun' async
  • introduce separate queue only for 'canRun' and existing queue only used for 'doRun'
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

No branches or pull requests

1 participant