From 8e5b4d4b6fef43b8ff856a5c3ea31c15ccbd37a7 Mon Sep 17 00:00:00 2001 From: Jeffrey Picard Date: Wed, 23 Jun 2021 17:28:32 -0400 Subject: [PATCH] hardcode port --- lbry/extras/daemon/daemon.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 62d824332..eb73cf227 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2611,15 +2611,13 @@ class Daemon(metaclass=JSONRPCServerType): Returns: {Paginated[Output]} """ - # if os.environ.get("GO_HUB") and os.environ.get("GO_HUB") == "true": if self.ledger.config['use_go_hub']: if self.ledger.config['first_search']: # Only do this the first time because we might need to retry due to the go hub not being there self.ledger.config['first_search'] = False kwargs_old = copy.copy(kwargs) host = self.ledger.network.client.server[0] - # host = os.environ.get("HUB_HOST", "localhost") - port = os.environ.get("HUB_PORT", "50051") + port = "50051" kwargs['new_sdk_server'] = f"{host}:{port}" if kwargs.get("channel"): channel = kwargs.pop("channel")