From 6562f4f55710415f06d5b6f6faf330636fccee7e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 5 Aug 2021 01:32:44 -0300 Subject: There is no reason to NOT use 8192 blocks --- game/misc.rpy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game/misc.rpy b/game/misc.rpy index d13d473..9bf6ac0 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 - block_size = 1024 #1 Kibibyte + ## TODO: use blocks of 1024 on DSL and 1048576 on broadband? + block_size = 8192 max_value = max_value / block_size statusmsg = "Downloading the zip file..." with open(get_path("allinone.zip"), 'wb') as f: -- cgit v1.2.3-70-g09d2