projects
/
quix0rs-apt-p2p.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some tests and add some TODO items.
[quix0rs-apt-p2p.git]
/
apt_p2p
/
PeerManager.py
diff --git
a/apt_p2p/PeerManager.py
b/apt_p2p/PeerManager.py
index 68a3c32a49304ab243840dbde2b4fbf09660b9d4..dd450ffa6b64c930ed8b6d63e7ccdc59f34544a4 100644
(file)
--- a/
apt_p2p/PeerManager.py
+++ b/
apt_p2p/PeerManager.py
@@
-403,7
+403,7
@@
class FileDownload:
**{'callbackArgs': (key, site),
'errbackArgs': (key, site)})
self.outstanding += 1
- if self.outstanding >=
3
:
+ if self.outstanding >=
4
:
break
log.msg('Done sending piece hash requests for now, %d outstanding' % self.outstanding)