update trending period

This gets us back to ~7 days, which was originally requested as part of this change.
This commit is contained in:
Thomas Zarebczan 2019-10-31 12:33:27 -04:00 committed by Lex Berezhny
parent faf9449107
commit ec71017785

View file

@ -5,7 +5,7 @@ TRENDING_WINDOW = 134
# TRENDING_DATA_POINTS says how many samples to use for the trending algorithm # TRENDING_DATA_POINTS says how many samples to use for the trending algorithm
# i.e. only consider claims from the most recent (TRENDING_WINDOW * TRENDING_DATA_POINTS) blocks # i.e. only consider claims from the most recent (TRENDING_WINDOW * TRENDING_DATA_POINTS) blocks
TRENDING_DATA_POINTS = 7 TRENDING_DATA_POINTS = 28
CREATE_TREND_TABLE = """ CREATE_TREND_TABLE = """
create table if not exists trend ( create table if not exists trend (