The state that prevents users rage clicking the sync button now resets after 45 seconds. This should mean that if the system hangs / crashes / timeouts / etc. the user can semi-rage click the sync.
This has a nice benefits that the electron-level API hanging actually seems to get repushed when the user does this.
closes #53
Checklist
[x] I have read the road86 Contribution Guide.
[x] I have checked all commit message styles match the requested structure.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have assigned at least one reviewer.
[x] New and existing unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] My changes generate no new warnings.
[ ] I have made corresponding changes to the documentation.
Description
The state that prevents users rage clicking the sync button now resets after 45 seconds. This should mean that if the system hangs / crashes / timeouts / etc. the user can semi-rage click the sync.
This has a nice benefits that the electron-level API hanging actually seems to get repushed when the user does this.
closes #53
Checklist