summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 05:17:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 22:56:08 -0700
commit2d5f023b5811ffde028d5c9b680cd99f9f1448f9 (patch)
tree22c3ea86708cd16837674f0dec3c9b9fb05933e4 /core
parent9db886b8c897788ecaa94ca238b77c0e5d478fac (diff)
downloadsubsurface-2d5f023b5811ffde028d5c9b680cd99f9f1448f9.tar.gz
Set default cloud timeout to ten seconds for mobile app
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/subsurfacestartup.c6
1 files changed, 5 insertions, 1 deletions
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;