Compare commits

...
3 Commits
Author SHA1 Message Date
Jack Robison cd9c27d4d9 Bump version: 0.10.0rc10 → 0.10.0rc11 2017-04-21 13:17:06 -04:00
Jack Robison 19b588b72a update requirements 2017-04-21 13:16:25 -04:00
Jack Robison 2e5b9977e3 less intensive availability check 2017-04-21 13:16:14 -04:00
5 changed files with 9 additions and 10 deletions

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.0rc10
current_version = 0.10.0rc11
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<candidate>\d+))?
+1 -1
View File
@@ -1,6 +1,6 @@
import logging
__version__ = "0.10.0rc10"
__version__ = "0.10.0rc11"
version = tuple(__version__.split('.'))
logging.getLogger(__name__).addHandler(logging.NullHandler())
+3 -3
View File
@@ -28,7 +28,7 @@ class BlobAvailabilityTracker(object):
def start(self):
log.info("Starting %s", self)
self._check_popular.start(30)
self._check_popular.start(600)
self._check_mine.start(600)
def stop(self):
@@ -70,7 +70,7 @@ class BlobAvailabilityTracker(object):
def _get_most_popular(self):
dl = []
for (hash, _) in self._dht_node.get_most_popular_hashes(100):
for (hash, _) in self._dht_node.get_most_popular_hashes(10):
encoded = hash.encode('hex')
dl.append(self._update_peers_for_blob(encoded))
return defer.DeferredList(dl)
@@ -87,7 +87,7 @@ class BlobAvailabilityTracker(object):
return defer.DeferredList(dl)
def sample(blobs):
return random.sample(blobs, min(len(blobs), 100))
return random.sample(blobs, min(len(blobs), 10))
start = time.time()
log.debug('==> Updating the peers for my blobs')
+2 -3
View File
@@ -10,11 +10,10 @@ gmpy==1.17
jsonrpc==1.2
jsonrpclib==0.1.7
jsonschema==2.5.1
git+https://github.com/lbryio/lbryschema.git@v0.0.3#egg=lbryschema
git+https://github.com/lbryio/lbryum.git@v2.7.20#egg=lbryum
git+https://github.com/lbryio/lbryschema.git@v0.0.4#egg=lbryschema
git+https://github.com/lbryio/lbryum.git@v2.7.21#egg=lbryum
miniupnpc==1.9
pbkdf2==1.3
protobuf==3.0.0
pycrypto==2.6.1
pyyaml==3.12
qrcode==5.2.2
+2 -2
View File
@@ -21,8 +21,8 @@ requires = [
'envparse',
'jsonrpc',
'jsonschema',
'lbryum==2.7.20',
'lbryschema==0.0.3',
'lbryum==2.7.21',
'lbryschema==0.0.4',
'miniupnpc',
'pycrypto',
'pyyaml',