Closed regevbr closed 5 years ago
Good day! Yes, that is true, the only option how x2 can start is only after x1 is finished. That's because balancer starts to find next execution candidate in 2 cases:
If queue is not empty, executing promise will just add it to queue. That's a good point to improve library, thank you!
Sure thing! Working on PR now
I believe that there is a major issue with the optimization level regarding the start time of scheduled queue items.
Lets follow the following scenario:
Expected behavior:
Current behavior:
The reason for current behavior is the fact that you call
execute()
only after x1 finishes, and not after it starts.@energizer91 what do you think? Am I missing something here ?