From 9c407bb6206b132dc8bad8033c8772e4eecb4553 Mon Sep 17 00:00:00 2001 From: "Brendon J. Brewer" Date: Wed, 5 Feb 2020 09:05:58 +1300 Subject: [PATCH] Where did that return go? --- lbry/wallet/server/db/trending/ar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbry/wallet/server/db/trending/ar.py b/lbry/wallet/server/db/trending/ar.py index 4e8278dba..3987c3d07 100644 --- a/lbry/wallet/server/db/trending/ar.py +++ b/lbry/wallet/server/db/trending/ar.py @@ -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()