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

Make the default widget cache time configurable #1170

Closed
kroepke opened this issue May 22, 2015 · 0 comments
Closed

Make the default widget cache time configurable #1170

kroepke opened this issue May 22, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@kroepke
Copy link
Member

@kroepke kroepke commented May 22, 2015

Currently the default cache time is a constant in https://github.com/Graylog2/graylog2-server/blob/master/graylog2-server/src/main/java/org/graylog2/dashboards/widgets/DashboardWidget.java#L63

For very complex dashboards in high traffic setups, it can be beneficial for the operator to set a more reasonable default timeout to prevent accidental generation of many very short lived widget cache times.

Introduce a server.conf setting to override the default time.

@kroepke kroepke added the performance label May 22, 2015
@kroepke kroepke added this to the 1.1.0 milestone May 22, 2015
@bernd bernd self-assigned this May 24, 2015
joschi added a commit that referenced this issue May 26, 2015
Add config option to change the default widget cache time

Fixes #1170
@bernd bernd closed this in 7674094 May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants