oops! oops. forgot to commit transaction
This commit is contained in:
parent
614db2964d
commit
34b6f622a1
1
tasks.py
1
tasks.py
|
@ -304,6 +304,7 @@ def update_mastodon_instances_popularity():
|
||||||
MastodonInstance.popularity:
|
MastodonInstance.popularity:
|
||||||
MastodonInstance.popularity * 40 / biggest_instance.popularity
|
MastodonInstance.popularity * 40 / biggest_instance.popularity
|
||||||
})
|
})
|
||||||
|
db.session.commit()
|
||||||
|
|
||||||
|
|
||||||
app.add_periodic_task(120, periodic_cleanup)
|
app.add_periodic_task(120, periodic_cleanup)
|
||||||
|
|
Loading…
Reference in New Issue