From 2762e1f9237585f182d8c278b04f3804057b421b Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Mon, 22 Nov 2021 18:35:11 +0100 Subject: [PATCH] fix builtin worker --- api/obs/api/app.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api/obs/api/app.py b/api/obs/api/app.py index babd7e7..8b8f6e1 100644 --- a/api/obs/api/app.py +++ b/api/obs/api/app.py @@ -195,11 +195,8 @@ if not app.config.DEDICATED_WORKER: async def worker(): from obs.api.process import process_tracks_loop - from obs.face.osm import DataSource, DatabaseTileSource - - data_source = DataSource(DatabaseTileSource()) # run forever - await process_tracks_loop(data_source, 10) + await process_tracks_loop(10) app.add_task(worker())