mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-23 02:33:31 +01:00
feat: protect queued changes at shutdown and sign-out (B66)
While the queue holds changes the drain can send, the daemon holds a logind shutdown inhibitor through systemd-inhibit, so desktops show why a power-off is held up. Parked transient files and changes that need the user never hold it. pdfs sync flush retries failed changes and waits for the queue, exiting 3 when what is left needs the user and 4 on timeout. Signing out, in the app or with pdfs logout, says how many changes are not on Proton Drive yet.
This commit is contained in:
1 parent
2c4c95812f
commit
2b5d6f2436
18 files changed
+3644
-3252