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

fix refresh e.g. single backup/restore task #11

Merged
merged 1 commit into from
Sep 26, 2020
Merged

fix refresh e.g. single backup/restore task #11

merged 1 commit into from
Sep 26, 2020

Conversation

hg42
Copy link

@hg42 hg42 commented Sep 25, 2020

backing up a single entry didn't get a refresh.
Additionally, I had a case where something wasn't refreshed because two refreshes were running in parallel (I tried to change this, but a Java Thread cannot be stopped from outside and from inside didn't work either, but that's another story).
Anyways, it doesn't make much sense to start a refresh thread before an action (especially when caching), so I removed this.
All refresh invocations are now at the end of some action.

I also added a TODO, because parallel refreshes only show the spinner while the first one is running, because it is reset after the each refresh (and it is only bool)

@Tiefkuehlpizze Tiefkuehlpizze merged commit 5c64843 into Tiefkuehlpizze:dev Sep 26, 2020
@hg42 hg42 deleted the PR-fix-refresh branch January 31, 2021 15:37
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

Successfully merging this pull request may close these issues.

2 participants