Make sure we use local peers if possible
This commit is contained in:
parent
a14c36cd3e
commit
6ff7fe55fc
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class Peer(object):
|
|||
else:
|
||||
self.reputation += 2
|
||||
elif source == "local":
|
||||
self.reputation += 3
|
||||
self.reputation += 20
|
||||
|
||||
if source in ("tracker", "local"):
|
||||
self.site.peers_recent.appendleft(self)
|
||||
|
|
Loading…
Reference in a new issue