Skip to content

Commit 95e80c1

Browse files
author
virco
committed
fix
1 parent 6f1054c commit 95e80c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pupload.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,8 @@ static int task_uploadfile(psync_syncid_t syncid, psync_folderid_t localfileid,
10111011
ctime=psync_stat_mtime(&st);
10121012
if (psync_stat_mtime(&st)+PSYNC_UPLOAD_OLDER_THAN_SEC>ctime)
10131013
psync_milisleep((psync_stat_mtime(&st)+PSYNC_UPLOAD_OLDER_THAN_SEC-ctime)*1000+500);
1014+
else
1015+
psync_milisleep(500);
10141016
if (psync_stat(localpath, &st)){
10151017
debug(D_NOTICE, "can not stat %s anymore, failing for now", localpath);
10161018
psync_free(localpath);

0 commit comments

Comments
 (0)