[nautilus] file-operations: reduce the time for reliable transfer rate
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-operations: reduce the time for reliable transfer rate
- Date: Thu, 16 Jul 2015 22:46:25 +0000 (UTC)
commit 7d40ce7f94390a646c54273225fc1cd08aa9ccec
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Jul 14 20:30:01 2015 +0200
file-operations: reduce the time for reliable transfer rate
Currently it was 15 seconds, which is a little too much. Most
of the time 8 seconds is enough, and even more with SSDs. In this
way we are able to provide feedback of the remaining time to the
user in a more reasonable time.
libnautilus-private/nautilus-file-operations.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index 4b5b853..22fdfb8 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -173,7 +173,7 @@ typedef struct {
int last_reported_files_left;
} TransferInfo;
-#define SECONDS_NEEDED_FOR_RELIABLE_TRANSFER_RATE 15
+#define SECONDS_NEEDED_FOR_RELIABLE_TRANSFER_RATE 8
#define NSEC_PER_MICROSEC 1000
#define MAXIMUM_DISPLAYED_FILE_NAME_LENGTH 50
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]