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

Do not call update if a call if done to a specific plugin through the API #3033

Open
nicolargo opened this issue Nov 27, 2024 · 1 comment
Open

Comments

@nicolargo
Copy link
Owner

For the moment, every time a call is done to the API for a specific plugin (ex: /api/4/network), then all the plugins are updated:

An optimisation can be discussed on this point but it is not straighforward because plugins can be linked (for example processlist and alert).

Related to #3027 (comment)

@burgerga
Copy link

burgerga commented Nov 27, 2024

That is indeed tricky, can you create a directected acyclic graph (DAG) of the plugin inter-dependencies? If that is the case, it's probably not that hard to write a function that determines which set of plugins needs to update for which api call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants