forked from LBRYCommunity/lbry-sdk
change trending window to 6 hours
This commit is contained in:
parent
b3f087dbc7
commit
9c5b4e3cc9
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
from math import sqrt
|
||||
|
||||
TRENDING_WINDOW = 650 # number of blocks, ~24hr period
|
||||
TRENDING_WINDOW = 134 # number of blocks in ~6hr period (21600 seconds / 161 seconds per block)
|
||||
TRENDING_DATA_POINTS = 7 # WINDOW * DATA_POINTS = ~1 week worth of trending data
|
||||
|
||||
CREATE_TREND_TABLE = """
|
||||
|
|
Loading…
Reference in a new issue