-
Notifications
You must be signed in to change notification settings - Fork 65
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
patch nested batches #385
base: master
Are you sure you want to change the base?
patch nested batches #385
Conversation
cache.commands.push(irc_command); | ||
while (cache?.tags?.batch) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call me old fashioned, but I like my caches to not change while I'm reading them.
Are you sure this is what you want to do ?
Can you define a bit more or your changes please. The changes to handler.js bother me a bit too much for this particular CR. Looking at your changes though, it LOOKS like some timing issues ? It's not clear and I see no issues linked. Help me out here! :) |
After some testing there were further changes that needed to be made, and also as you have pointed out I am also unsure of the way this PR is designed/written. I talked to @ItsOnlyBinary on Libera.Chat and his preference would be that the |
Im not sure on the best solution for this yet, grouping the batched events might be an issue due to the current way it collects the commands then sends the events (which behaviour needs to be kept as it makes sense), I have written some tests and been exploring options. |
The commits refer to interleaving batches, but the patch is really for nested batches