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

Ignore suggestions based on previously ignored #82

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ellinge
Copy link
Contributor

@ellinge ellinge commented Feb 10, 2023

Fixes #37

Now suggestions are not added if a matching ignore is found.

Also rewrote the buffering of 404 to allow logging if threshold has passed as well. Meaning the buffer can be less than buffersize before being processed. Seems logical to me but perhaps there's a reason for waiting to fill the buffersize always.

@ellinge
Copy link
Contributor Author

ellinge commented Feb 10, 2023

@marisks shouln't logEvents.Count be used instead of bufferSize in check of threshold as well?

Here I mean:

if ((diff != 0 && bufferSize / diff <= threshold)

@marisks
Copy link
Member

marisks commented Feb 17, 2023

We are working on rewriting the whole logging logic for Suggestions. This PR will be out of date soon.

@ellinge
Copy link
Contributor Author

ellinge commented Feb 17, 2023

How soon? It would be nice to avoid getting a lot of suggestions already ignored.

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

Successfully merging this pull request may close these issues.

Suggestions table gets out of control
2 participants