oops! oops. forgot to commit transaction

This commit is contained in:
codl 2017-09-17 15:21:48 +02:00
parent 614db2964d
commit 34b6f622a1
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 0 deletions

View File

@ -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)