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

Timeline doesn't update #186

Open
helioshk opened this issue Dec 22, 2021 · 6 comments
Open

Timeline doesn't update #186

helioshk opened this issue Dec 22, 2021 · 6 comments

Comments

@helioshk
Copy link

Hi
After adding a timeline (for example XRS-B), the timeline seems to never get updated anymore. For example if i leave jhelioviewer running for 2 hours, no newer data is plotted, even when removing the timeline and adding it again.

@bogdanni
Copy link
Contributor

That's a feature normally :)
There's response caching at the HTTP client level. The server probably doesn't use or modify the Last-Modified tag (and it's impossible/difficult for it to compute such a timestamp).
Solution to be investigated.

@bogdanni
Copy link
Contributor

There is a new build at http://swhv.oma.be/download_test/
Does it solve the issue?

@helioshk
Copy link
Author

@bogdanni Still the same, the timeline doesn't update, as far as I can tell.

When should it update? For me it would be ok, if the timeline would be updated, every time the image layer gets changed/synched/updated.

@bogdanni
Copy link
Contributor

I dug deeper and I'm afraid that the problem is more complex than a simple network cache.
I will have to rework the design of the code. In the meanwhile, the only solution is to close and restart JHV.

@bogdanni
Copy link
Contributor

I agree that the behavior you are seeking is the desired one, unfortunately the code was not designed for that.

@helioshk
Copy link
Author

Ok, thanks for having a look at it. It's not that important for me. I can work around it.

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

No branches or pull requests

2 participants