diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 05:17:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 22:56:08 -0700 |
commit | 2d5f023b5811ffde028d5c9b680cd99f9f1448f9 (patch) | |
tree | 22c3ea86708cd16837674f0dec3c9b9fb05933e4 /core/subsurfacestartup.c | |
parent | 9db886b8c897788ecaa94ca238b77c0e5d478fac (diff) | |
download | subsurface-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/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 6 |
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; |