forked from LBRYCommunity/lbry-sdk
Where did that return go?
This commit is contained in:
parent
1f15c6cb01
commit
9c407bb620
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,7 @@ CREATE_TREND_TABLE = ""
|
|||
|
||||
def check_trending_values(connection):
|
||||
"""
|
||||
If the trending values appear to be based on the standard algorithm,
|
||||
If the trending values appear to be based on the zscore algorithm,
|
||||
reset them. This will allow resyncing from a standard snapshot.
|
||||
"""
|
||||
c = connection.cursor()
|
||||
|
@ -180,6 +180,7 @@ def run(db, height, final_height, recalculate_claim_hashes):
|
|||
|
||||
if height < final_height - 5*HALF_LIFE:
|
||||
trending_log("Skipping AR trending at block {h}.\n".format(h=height))
|
||||
return
|
||||
|
||||
start = time.time()
|
||||
|
||||
|
|
Loading…
Reference in a new issue