Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
fix(tasks): ensure ui can be cached if auto update items is disabled (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Mar 14, 2024
1 parent 049acf3 commit 85e1575
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Contents/Code/scheduled_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ def setup_scheduling():
job_func=run_threaded,
target=scheduled_update
)
schedule.every(max(15, int(Prefs['int_update_database_cache_interval']))).minutes.do(
job_func=run_threaded,
target=cache_data
)

schedule.every(max(15, int(Prefs['int_update_database_cache_interval']))).minutes.do(
job_func=run_threaded,
target=cache_data
)

run_threaded(target=schedule_loop, daemon=True) # start the schedule loop in a thread

0 comments on commit 85e1575

Please sign in to comment.