From 11cff74cb758c08c0baba15f6eb501dd640d1f02 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 5 Aug 2021 01:36:26 -0300 Subject: We actually could even use 16KiB blocks but lets play safe if user is with 3G --- game/misc.rpy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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..." -- cgit v1.2.3-70-g09d2