Skip to content
Snippets Groups Projects
Verified Commit 75477d3e authored by Georg Krause's avatar Georg Krause
Browse files

Run worker from funkwhale-network

parent 9f4b1634
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,13 @@ import asyncio
import functools
import ssl
import sys
import arq
import aiohttp
import click
from funkwhale_network.db import DB
from funkwhale_network.worker import WorkerSettings
from . import output
......@@ -295,6 +297,7 @@ def aggregate_crawl_results(domains_info):
@click.option("-v", "--verbose", is_flag=True)
@click.option("--check", is_flag=True)
def start(*, check, verbose):
arq.worker.run_worker(WorkerSettings)
# TODO launch runner
# worker = arq.worker.import_string("funkwhale_network.worker", "Worker")
# logging.config.dictConfig(worker.logging_config(verbose))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment