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

Remove 10-second interval to trim buffer #1409

Merged
merged 1 commit into from Aug 13, 2017
Merged

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Aug 13, 2017

Fixes #96. Split from #1041.

@xPaw xPaw added the Type: Feature Tickets that describe a desired feature or PRs that add them to the project. label Aug 13, 2017
@xPaw xPaw added this to the 2.5.0 milestone Aug 13, 2017
$(this).remove();
}
});
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth putting this in a debounce function so it doesn't fire more than once every N seconds (10?)? I'm concerned this could be called a lot in very active channels.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you wanna look into it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the channel:

<xPaw>     astorije, I remember testing the message trimmer in my queue PR on twitch channels
<astorije> So you're saying no debounce needed, right?
<xPaw>     it produced like multiple new message per seconds, and while debugging it, I saw nothing that pointed towards this code
<xPaw>     so yes, shouldnt be needed

@astorije astorije merged commit d876624 into master Aug 13, 2017
@astorije astorije deleted the xpaw/show-more-trim branch August 13, 2017 16:36
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
@astorije astorije changed the title Remove 10 second interval to trim buffer Remove 10-second interval to trim buffer Sep 29, 2017
@astorije astorije added Meta: Internal This is an internal codebase change (testing, linting, etc.). and removed Meta: Internal This is an internal codebase change (testing, linting, etc.). labels Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants