diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-15 13:10:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-15 13:10:10 +0000 |
| commit | c2439d1ed6fc3e973371b76637c08eea0a8f60c8 (patch) | |
| tree | 31058acb291ed1b5b580d9defdaeb557c02c41c0 /.github | |
| parent | feat: add better error handling for sync (#1572) (diff) | |
| download | atuin-c2439d1ed6fc3e973371b76637c08eea0a8f60c8.zip | |
fix(sync): save sync time when it starts, not ends (#1573)
Imagine the scenario where a sync fails. The function touched here will
never save the sync time.
That means that external to this function, the sync never happened. The
next command will try and start one immediately.
The happy scenario is that this succeeds. The unhappy scenario is that
this fails. Fails, and isn't saved, so we try again...
Should add proper backoff but this is a good start.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
