mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-24 19:54:25 -04:00
merge queues and actors apps into new workers app
This commit is contained in:
parent
e50f8cb3b6
commit
e469c5a344
37 changed files with 89 additions and 304 deletions
18
archivebox/workers/management/commands/orchestrator.py
Normal file
18
archivebox/workers/management/commands/orchestrator.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from workers.orchestrator import ArchivingOrchestrator
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Run the archivebox orchestrator'
|
||||
|
||||
# def add_arguments(self, parser):
|
||||
# parser.add_argument('subcommand', type=str, help='The subcommand you want to run')
|
||||
# parser.add_argument('command_args', nargs='*', help='Arguments to pass to the subcommand')
|
||||
|
||||
|
||||
def handle(self, *args, **kwargs):
|
||||
orchestrator = ArchivingOrchestrator()
|
||||
orchestrator.start()
|
Loading…
Add table
Add a link
Reference in a new issue