twiddle knob
This commit is contained in:
parent
0c3f603db5
commit
0ad980f499
2
tasks.py
2
tasks.py
|
@ -325,7 +325,7 @@ def update_mastodon_instances_popularity():
|
|||
instance = MastodonInstance(instance=acct.mastodon_instance,
|
||||
popularity=10)
|
||||
db.session.add(instance)
|
||||
instance.bump(0.001)
|
||||
instance.bump(0.01 / instance.popularity)
|
||||
|
||||
# normalise scores so the median is 10
|
||||
median_pop = (
|
||||
|
|
Loading…
Reference in New Issue