[gnome-disk-utility] GduEstimator: Use 50 samples instead of 100



commit 27a5524dc2b4e0425d45e345567ddd9840ebad30
Author: David Zeuthen <zeuthen gmail com>
Date:   Tue Oct 16 11:46:08 2012 -0400

    GduEstimator: Use 50 samples instead of 100
    
    Otherwise, when dealing with disks with Medium Errors on them it takes
    too long to change.
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 src/disks/gduestimator.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gduestimator.c b/src/disks/gduestimator.c
index 5b34502..dda872c 100644
--- a/src/disks/gduestimator.c
+++ b/src/disks/gduestimator.c
@@ -17,7 +17,8 @@
 
 #include "gduestimator.h"
 
-#define MAX_SAMPLES 100
+//#define MAX_SAMPLES 100
+#define MAX_SAMPLES 50
 
 typedef struct
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]