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

Fix loadup #878

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Fix loadup #878

merged 2 commits into from
Sep 14, 2021

Conversation

jjnicola
Copy link
Member

What:
Fix plugins loadup. Update preferences.

Why:
When a plugin modification was done quite earlier than the time in which it is put in the feed,
the mtime is older than the feed version and the plugin is no uploaded/updated in the redis cache.
This produced that some metadata or preferences is outdated for vts in this situation.
This patch fix this, and now the upload is always done for all vts to ensure that the cache is up-to-date.

How:

Checklist:

When a plugin modification was done quite earlier than the time in which it is put in the feed,
the mtime is older than the feed version and the plugin is no uploaded/updated in the redis cache.
This produced that some metadata or preferences is outdated for vts in this situation.
This patch fix this, and now the upload is always done for all vts to ensure that the cache is up-to-date.
@jjnicola jjnicola merged commit 81b34c2 into greenbone:openvas-21.04 Sep 14, 2021
@jjnicola jjnicola deleted the fix-loadup branch September 14, 2021 14:55
y0urself added a commit that referenced this pull request Sep 14, 2021
[master] Fix loadup master. Backport #878
y0urself added a commit that referenced this pull request Sep 15, 2021
[middleware] Fix loadup. Backpor #878
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