Commit 8aad8f5
committed
fix: Fix transfer history clearing in-progress files too early
We recently upgraded SyncTrayzor's understanding of folder states, e.g.
by adding the various -waiting states that SyncTrayzor previously did
not understand.
However, syncthing can flip-flop in between these states, for example by
briefly going to syncing, then preparing (sync-waiting) and then back to
syncing.
Previously SyncTrayzor assumed that any non-syncing state meant that
syncthing had completed any file transfers. This is no longer true with
the various waiting states. Rather, only consider a folder as completed
if it actually is idle (errors are handled seperately).1 parent 7b0b315 commit 8aad8f5
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
0 commit comments