Skip to content

Commit

Permalink
Tweak trending and trending underground constants (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzatron committed Apr 5, 2021
1 parent d8f50b7 commit 3469a24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion discovery-provider/src/queries/get_trending_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def wrapped():
O = 1
R = 0.25
i = 0.01
q = 20.0
q = 40.0
T = {'day': 1, 'week':7, 'month':30, 'year':365, 'allTime': 100000}
def z(time, track):
# pylint: disable=W,C,R
Expand Down
8 changes: 4 additions & 4 deletions discovery-provider/src/queries/get_underground_trending.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
UNDERGROUND_TRENDING_CACHE_KEY = "generated-trending-tracks-underground"
UNDERGROUND_TRENDING_LENGTH = 50

S = 1000
r = 1000
S = 1500
r = 1500
q = 50
o = 21
f = 7
Expand All @@ -38,8 +38,8 @@
u = 30.0
qq = 0.001
oi = 20
nb = 500
om = 1000
nb = 750
om = 1500
qr = 10

def z2(time, track):
Expand Down

0 comments on commit 3469a24

Please sign in to comment.