From 2d5f023b5811ffde028d5c9b680cd99f9f1448f9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 17 Jun 2017 05:17:56 -0700 Subject: [PATCH] Set default cloud timeout to ten seconds for mobile app Signed-off-by: Dirk Hohndel --- core/subsurfacestartup.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index a686ceab7..b0d621b20 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -94,7 +94,11 @@ struct preferences default_prefs = { .vpmb_conservatism = 3, .distance_threshold = 1000, .time_threshold = 600, - .cloud_timeout = 5 +#if defined(SUBSURFACE_MOBILE) + .cloud_timeout = 10, +#else + .cloud_timeout = 5, +#endif }; int run_survey;