How to change default auto-refresh interval? #36873
-
|
When I started using Superset, the auto-refresh setting defaulted to "Don't refresh". One day, I set my dashboard's auto-refresh interval to 10 seconds. Somehow, this action seems to have changed the default value to 10 seconds – whenever I open the dashboard, it automatically starts refreshing every 10 seconds. Changing the setting again has no permanent effect – even when manually changed to "Don't refresh", it will go back to "10 seconds" after reloading the page. How do I change the default back to "Don't refresh"? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @cifkao! I'm Dosu and I’m helping the superset team. Superset saves the dashboard auto-refresh interval in the dashboard's metadata under the field If you are using Superset 5.0.0 and changes to the auto-refresh interval (or other dashboard metadata) do not persist, you may be hitting a known bug: if the dashboard has owners but no tags, metadata changes silently fail to save. The UI for tags is missing in 5.0.0, so the only reliable fix is to upgrade Superset to a newer version where this bug is fixed (details and workaround discussion). If you can't upgrade, you can try adding a tag to the dashboard via the API (object_type=3 for dashboards), but this workaround is not always effective in 5.0.0. If the problem persists even after adding a tag, upgrading is the only reliable solution. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
I just figured this out. When setting the auto-refresh interval while viewing the dashboard, the button says "Save for this session". However, when you then go to edit the dashboard in the same session, do some unrelated changes to it and save them, this will also persist the auto-refresh interval. So the answer is to enter edit mode first and only then change the setting and save it. |
Beta Was this translation helpful? Give feedback.
I just figured this out.
When setting the auto-refresh interval while viewing the dashboard, the button says "Save for this session". However, when you then go to edit the dashboard in the same session, do some unrelated changes to it and save them, this will also persist the auto-refresh interval.
So the answer is to enter edit mode first and only then change the setting and save it.