Reduce delay, use a more meaningful msg

This commit is contained in:
Arun Prakash Jana 2019-11-25 08:21:14 +05:30
parent e4ffe35892
commit 249836923e
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -485,7 +485,7 @@ static const char * const messages[] = {
"entry exists",
"too few columns!",
"'s'shfs / 'r'clone?",
"rclone mount may take a while"
"may take a while, try refresh"
};
/* Supported configuration environment variables */
@ -3320,7 +3320,7 @@ static bool remote_mount(char *newpath, int *presel)
} else {
spawn(env, tmp, newpath, NULL, flag);
printmsg(messages[MSG_RCLONE_DELAY]);
xdelay(XDELAY_INTERVAL_MS * 10);
xdelay(XDELAY_INTERVAL_MS << 2); /* Set 4 times the usual delay */
}
return TRUE;