Add commit=True to the refresher thread.

This commit is contained in:
voussoir 2022-06-11 14:47:57 -07:00
parent 82a6739768
commit 12400b407c
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -88,7 +88,7 @@ def refresher_thread(rate):
log.info('Starting refresh job.')
refresh_job = threading.Thread(
target=ycdldb.refresh_all_channels,
kwargs={'force': False, 'skip_failures': True},
kwargs={'force': False, 'skip_failures': True, 'commit': True},
daemon=True,
)
refresh_job.start()