road86 / bahis-desk

Desktop application for BAHIS2
GNU General Public License v3.0
2 stars 1 forks source link

feat: make sync blocking timeout #55

Closed ChasNelson1990 closed 1 year ago

ChasNelson1990 commented 1 year ago

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

ChasNelson1990 commented 1 year ago

Added a cheeky change that closes #49