mirror of
https://github.com/codl/forget
synced 2025-01-14 16:26:27 +01:00
increased task frequency for refreshes. decreased for bookkeeping
This commit is contained in:
parent
0f3df6ad24
commit
2b39a61442
8
tasks.py
8
tasks.py
@ -438,12 +438,12 @@ def update_mastodon_instances_popularity():
|
||||
db.session.commit()
|
||||
|
||||
|
||||
app.add_periodic_task(120, periodic_cleanup)
|
||||
app.add_periodic_task(40, queue_fetch_for_most_stale_accounts)
|
||||
app.add_periodic_task(9, queue_deletes)
|
||||
app.add_periodic_task(60, refresh_account_with_oldest_post)
|
||||
app.add_periodic_task(180, refresh_account_with_longest_time_since_refresh)
|
||||
app.add_periodic_task(61, update_mastodon_instances_popularity)
|
||||
app.add_periodic_task(25, refresh_account_with_oldest_post)
|
||||
app.add_periodic_task(50, refresh_account_with_longest_time_since_refresh)
|
||||
app.add_periodic_task(300, periodic_cleanup)
|
||||
app.add_periodic_task(300, update_mastodon_instances_popularity)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.worker_main()
|
||||
|
Loading…
Reference in New Issue
Block a user