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

Plugins increase scheduled requests #1966

Closed
edmundoa opened this issue Mar 23, 2016 · 1 comment
Closed

Plugins increase scheduled requests #1966

edmundoa opened this issue Mar 23, 2016 · 1 comment
Milestone

Comments

@edmundoa
Copy link
Contributor

Problem description

Adding a plugin to the web interface may end up duplicating the number of scheduled requests. Some stores use setInterval to refresh their data, and that interval may also be set in plugins using that same store, as they get new instances.

Steps to reproduce the problem

  1. Remove all plugins from the server
  2. Log into the web interface and open the network requests on your web-developer tools
  3. See that the nodes information is loaded once every 5 seconds
  4. Add a UI plugin to the server
  5. Reopen the previous page
  6. See that the nodes information is loaded twice every 5 seconds

Environment

  • Graylog Version: 2.0.0-beta.2-SNAPSHOT
@dennisoelkers
Copy link
Member

Fixed in #1967.

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