OSDN Git Service

updateCheck: Why calculate when we don't need to? :)
authorJames Teh <jamie@jantrid.net>
Fri, 20 Apr 2012 02:54:59 +0000 (12:54 +1000)
committerJames Teh <jamie@jantrid.net>
Fri, 20 Apr 2012 02:54:59 +0000 (12:54 +1000)
source/updateCheck.py

index e3f0a54..22ba484 100644 (file)
@@ -36,7 +36,7 @@ CHECK_INTERVAL = 86400 # 1 day
 #: The time to wait before retrying a failed check.\r
 RETRY_INTERVAL = 600 # 10 min\r
 #: The download block size in bytes.\r
-DOWNLOAD_BLOCK_SIZE = 8 * 1024 # 8 kb\r
+DOWNLOAD_BLOCK_SIZE = 8192 # 8 kb\r
 \r
 #: Persistent state information.\r
 #: @type: dict\r