diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-04-21 21:18:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-21 21:18:43 -0700 |
commit | f33a11bc8a73f13b193633c88f555e14aa7479b1 (patch) | |
tree | c526dd92ac965375e0ae6d6a8f48855fbb3e8a41 /uemis-downloader.c | |
parent | df9f233eed58128a762cb69127d936df7d025961 (diff) | |
download | subsurface-f33a11bc8a73f13b193633c88f555e14aa7479b1.tar.gz |
Uemis downloader: adjust the threshold for stopping downloads
A complete batch of divelog and dive data takes about 20% of the available
space (depending on how long those dives are). This is a hack and I can
see this potentially going wrong, but the alternative is to be even more
conservative and that has its own set of problems as it causes us to need
more "unplug, wait, plug in again and restart" cycles.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index be0af2b37..cd375f440 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -967,7 +967,7 @@ const char *do_uemis_import(device_data_t *data) if (!success || !param_buff[3]) break; /* finally, if the memory is getting too full, maybe we better stop, too */ - if (progress_bar_fraction > 0.85) { + if (progress_bar_fraction > 0.80) { result = translate("gettextFromC", ERR_FS_ALMOST_FULL); break; } |