From 12400b407ce1cc6e84f2d4d2820d20b2e1fa8417 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 11 Jun 2022 14:47:57 -0700 Subject: [PATCH] Add commit=True to the refresher thread. --- frontends/ycdl_flask/backend/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/ycdl_flask/backend/common.py b/frontends/ycdl_flask/backend/common.py index 70fe749..9163106 100644 --- a/frontends/ycdl_flask/backend/common.py +++ b/frontends/ycdl_flask/backend/common.py @@ -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()