From 8419e3a9da2d200c1a3f8934ac24817fcba6d29a Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 14 Feb 2015 03:14:26 -0800 Subject: [PATCH] lib: tweak values in GLOBAL_PREFS::enabled_defaults() function to better match new web prefs --- lib/prefs.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/prefs.cpp b/lib/prefs.cpp index 8c7b759882..ad4f49ad21 100644 --- a/lib/prefs.cpp +++ b/lib/prefs.cpp @@ -272,10 +272,12 @@ void GLOBAL_PREFS::defaults() { // void GLOBAL_PREFS::enabled_defaults() { defaults(); + disk_max_used_gb = 100; + disk_min_free_gb = 1.0; daily_xfer_limit_mb = 10000; daily_xfer_period_days = 30; - max_bytes_sec_down = 100e3; - max_bytes_sec_up = 100e3; + max_bytes_sec_down = 100*KILO; + max_bytes_sec_up = 100*KILO; } // call before parsing