diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-05 01:36:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-05 01:36:26 -0300 |
commit | 11cff74cb758c08c0baba15f6eb501dd640d1f02 (patch) | |
tree | ed6bfb06489a58fc989c4c51892ae125a5d5e250 | |
parent | 6562f4f55710415f06d5b6f6faf330636fccee7e (diff) | |
download | client-11cff74cb758c08c0baba15f6eb501dd640d1f02.tar.gz client-11cff74cb758c08c0baba15f6eb501dd640d1f02.tar.bz2 client-11cff74cb758c08c0baba15f6eb501dd640d1f02.tar.xz client-11cff74cb758c08c0baba15f6eb501dd640d1f02.zip |
We actually could even use 16KiB blocks but lets play safe if user is with 3G
-rw-r--r-- | game/misc.rpy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/misc.rpy b/game/misc.rpy index 9bf6ac0..290ca55 100644 --- a/game/misc.rpy +++ b/game/misc.rpy @@ -401,7 +401,8 @@ init python: ## Download the file, slowly as it may be... max_value = int(r.headers.get('content-length', 0)) print "Blocks: %d" % max_value - ## TODO: use blocks of 1024 on DSL and 1048576 on broadband? + ## TODO: use blocks of 1024 on DSL and 16384 on broadband? + ## 16KiB is the default for Torrent block_size = 8192 max_value = max_value / block_size statusmsg = "Downloading the zip file..." |