mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-31 17:31:29 +00:00
disable trending until its fixed
This commit is contained in:
parent
021ca3efd2
commit
2b75982446
1 changed files with 2 additions and 3 deletions
|
@ -329,7 +329,6 @@ class SQLDB:
|
||||||
))
|
))
|
||||||
|
|
||||||
def _update_trending_amount(self, height):
|
def _update_trending_amount(self, height):
|
||||||
return
|
|
||||||
day_ago = height-self.TRENDING_24_HOURS
|
day_ago = height-self.TRENDING_24_HOURS
|
||||||
two_day_ago = height-self.TRENDING_24_HOURS*2
|
two_day_ago = height-self.TRENDING_24_HOURS*2
|
||||||
week_ago = height-self.TRENDING_WEEK
|
week_ago = height-self.TRENDING_WEEK
|
||||||
|
@ -454,8 +453,8 @@ class SQLDB:
|
||||||
r(self._update_effective_amount, height)
|
r(self._update_effective_amount, height)
|
||||||
r(self._perform_overtake, height, [], [])
|
r(self._perform_overtake, height, [], [])
|
||||||
|
|
||||||
if not self.main.first_sync:
|
#if not self.main.first_sync:
|
||||||
r(self._update_trending_amount, height)
|
# r(self._update_trending_amount, height)
|
||||||
|
|
||||||
def advance_txs(self, height, all_txs, header, timer):
|
def advance_txs(self, height, all_txs, header, timer):
|
||||||
insert_claims = set()
|
insert_claims = set()
|
||||||
|
|
Loading…
Add table
Reference in a new issue