-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add support for scheduled refresh. #33
Add support for scheduled refresh. #33
Conversation
cc @ignacioct |
Hi @kghamilton89, thanks for the PR. This code looks very similar to the code we initially had to allow background refresh, but it was giving us a lot of problems. The dashboard was getting frozen fairly regularly. Are you not experiencing this? If it's working on your side, we could maybe add it as an option or comments in the code, but I and @dvsrepo are skeptics about the |
In fact yes, sometimes I see that dashboard hangs when I leave it open for a period of time. Use case: I open dashboard and leave it open for an arbitrary period of time. I return to dash and see "error" for all visualizations. (confirmed that this occurs for our Dutch-speaking colleagues in same use case) Refresh always resolves this issue and looking at console shows Do you have any hypothesis for why this happens? As I say in here expecting Lang. Leads to restart spaces manually anytime they want updates seems to me to be the greater of two evils compared to **sometimes breaking dash when left open for extended periods of time. Maybe there is an issue with Argilla / HF Spaces integration? For example setting Agree that we need to identify underlying cause and resolve. Happy to investigate and resolve before we merge this. |
Yep, you're getting the same error as we were getting. And we still have no clue why it is happening. Given the circumstances, we decided to manually update the dashboards from time to time, and we also looked into options for automatically resetting the space, which is possible. If you wanna go down the rabbit hole, it would be nice, but I personally believe it's worth it to look into how to automatically restart the spaces; I don't think having live, updated dashboards it's a priority, even though it'll be really nice. |
Fully understood @ignacioct, thanks for the feedback. I'll have a look and see what I can gather. In the meantime, closing PR. |
Resolves reported issue.
Changes already live in Dutch MPEP dashboard Space and Russian MPEP dashboard Space.
Humble suggestion to add support for automated refresh out of the box.