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

Move "feed object in trash" checks to startup #1325

Merged
merged 5 commits into from
Oct 13, 2020

Conversation

mattmundell
Copy link
Contributor

What:

The warnings about feed objects being in the trash are now done once, in the main process, at startup.

Why:

The warnings were spamming the logs. There was a static variable to limit the warning, but that no longer works because the sync is now done in a fork.

How:

Delete a feed config, report format and port list. Keep them in the trashcan.
Startup gvmd.
In the logs there should be one and only one warning for each of the three types.

Checklist:

@mattmundell mattmundell marked this pull request as ready for review October 13, 2020 10:19
@mattmundell mattmundell changed the title Move feed object in trash checks to startup Move "feed object in trash" checks to startup Oct 13, 2020
@timopollmeier timopollmeier merged commit 9ef78d0 into gvmd-20.08 Oct 13, 2020
@timopollmeier timopollmeier deleted the trash-pred-in-main branch October 15, 2021 06:43
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.

2 participants