OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344c013
)
updateCheck: Why calculate when we don't need to? :)
author
James Teh
<jamie@jantrid.net>
Fri, 20 Apr 2012 02:54:59 +0000
(12:54 +1000)
committer
James Teh
<jamie@jantrid.net>
Fri, 20 Apr 2012 02:54:59 +0000
(12:54 +1000)
source/updateCheck.py
patch
|
blob
|
history
diff --git
a/source/updateCheck.py
b/source/updateCheck.py
index
e3f0a54
..
22ba484
100644
(file)
--- a/
source/updateCheck.py
+++ b/
source/updateCheck.py
@@
-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 = 8
192
# 8 kb
\r
\r
#: Persistent state information.
\r
#: @type: dict
\r