forked from LBRYCommunity/lbry-sdk
remove invalid claim_id from default channel filter list
This commit is contained in:
parent
08792e794f
commit
3cffaa43f7
3 changed files with 3 additions and 3 deletions
|
@ -168,7 +168,7 @@ def execute_query(sql, values) -> List:
|
|||
plain_sql = interpolate(sql, values)
|
||||
if context.is_tracking_metrics:
|
||||
context.metrics['execute_query'][-1]['sql'] = plain_sql
|
||||
if str(err) == "interrupted":
|
||||
if isinstance(err, apsw.InterruptError):
|
||||
context.log.warning("interrupted slow sqlite query:\n%s", plain_sql)
|
||||
raise SQLiteInterruptedError(context.metrics)
|
||||
context.log.exception('failed running query', exc_info=err)
|
||||
|
|
|
@ -108,7 +108,7 @@ class LBRYElectrumX(ElectrumX):
|
|||
self.bp: LBRYBlockProcessor = self.session_mgr.bp
|
||||
self.db: LBRYDB = self.bp.db
|
||||
# space separated list of channel URIs used for filtering bad content
|
||||
filtering_channels = self.env.default('FILTERING_CHANNELS_IDS', '1111')
|
||||
filtering_channels = self.env.default('FILTERING_CHANNELS_IDS', '')
|
||||
self.filtering_channels_ids = list(filter(None, filtering_channels.split(' ')))
|
||||
|
||||
def set_request_handlers(self, ptuple):
|
||||
|
|
|
@ -5,7 +5,7 @@ from lbry.wallet.server.metrics import calculate_avg_percentiles
|
|||
|
||||
|
||||
db_path = '../../../lbryconf/wallet-server/claims.db'
|
||||
default_query_timout = 0.25
|
||||
default_query_timout = 0.25
|
||||
log = logging.getLogger(__name__)
|
||||
log.addHandler(logging.StreamHandler())
|
||||
|
||||
|
|
Loading…
Reference in a new issue