mirror of
https://github.com/schoebel/mars
synced 2025-05-18 19:46:09 +00:00
main: fix livelock at end of sync
Only observed on very fast hardware. Leaving the loop may unnecessarily take a long time.
This commit is contained in:
parent
04b2f2120e
commit
e7f41563f2
@ -4501,7 +4501,7 @@ static int make_sync(void *buf, struct mars_dent *dent)
|
||||
do_start ? switch_path : "",
|
||||
copy_path, dent->d_parent->d_path, argv, find_key(rot->msgs, "inf-sync"),
|
||||
start_pos, end_pos,
|
||||
rot->sync_finish_stamp.tv_sec != 0,
|
||||
true,
|
||||
mars_fast_fullsync > 0,
|
||||
true, false, ©);
|
||||
if (copy) {
|
||||
|
Loading…
Reference in New Issue
Block a user