forked from LBRYCommunity/lbry-sdk
update trending period
This gets us back to ~7 days, which was originally requested as part of this change.
This commit is contained in:
parent
faf9449107
commit
ec71017785
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue