torba-server -> hub

This commit is contained in:
Victor Shyba 2021-03-15 19:14:23 -03:00
parent d855e6c8b1
commit ef97c9b69f
4 changed files with 6 additions and 6 deletions

View file

@ -20,6 +20,6 @@ if [[ -n "$SNAPSHOT_URL" ]] && [[ ! -f /database/claims.db ]]; then
rm "$filename"
fi
/home/lbry/.local/bin/torba-elastic-sync /database/claims.db
/home/lbry/.local/bin/hub-elastic-sync /database/claims.db
echo 'starting server'
/home/lbry/.local/bin/torba-server "$@"
/home/lbry/.local/bin/hub "$@"

View file

@ -8,7 +8,7 @@ from lbry.wallet.server.server import Server
def get_argument_parser():
parser = argparse.ArgumentParser(
prog="torba-server"
prog="hub"
)
parser.add_argument("spvserver", type=str, help="Python class path to SPV server implementation.",
nargs="?", default="lbry.wallet.server.coin.LBC")

View file

@ -97,7 +97,7 @@ class Env:
self.identities = [identity
for identity in (clearnet_identity, tor_identity)
if identity is not None]
self.database_query_timeout = float(self.integer('QUERY_TIMEOUT_MS', 250)) / 1000.0
self.database_query_timeout = float(self.integer('QUERY_TIMEOUT_MS', 3000)) / 1000.0
@classmethod
def default(cls, envvar, default):

View file

@ -28,9 +28,9 @@ setup(
entry_points={
'console_scripts': [
'lbrynet=lbry.extras.cli:main',
'torba-server=lbry.wallet.server.cli:main',
'hub=lbry.wallet.server.cli:main',
'orchstr8=lbry.wallet.orchstr8.cli:main',
'torba-elastic-sync=lbry.wallet.server.db.elasticsearch.sync:run_elastic_sync'
'hub-elastic-sync=lbry.wallet.server.db.elasticsearch.sync:run_elastic_sync'
],
},
install_requires=[