mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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>
This commit is contained in:
parent
7643d4ea7b
commit
dad7181eff
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue