From 177e21076b9813eefca7939cda8c3eb559a4d145 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 23 Jul 2016 12:54:30 +0900 Subject: Allow the user to give longer cloud timeout on the command line When stuck in areas with really bad internet 5 seconds may not be enough, but making the timeout longer in general seems the wrong way to go. So keep the default 5 seconds but allow the user to override that with subsurface --cloud-timeout=NN Signed-off-by: Dirk Hohndel --- core/pref.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/pref.h') diff --git a/core/pref.h b/core/pref.h index a30417923..617e349c1 100644 --- a/core/pref.h +++ b/core/pref.h @@ -132,6 +132,7 @@ struct preferences { int time_threshold; int distance_threshold; bool git_local_only; + short cloud_timeout; locale_prefs_t locale; //: TODO: move the rest of locale based info here. }; enum unit_system_values { -- cgit v1.2.3-70-g09d2