Implement AI workspace and mitigation workflow
This commit is contained in:
@@ -18,7 +18,6 @@ async def job(interval_seconds):
|
||||
"""
|
||||
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
"""
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
from core.util import logs
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.conf import settings
|
||||
from core.modules.router import UnifiedRouter
|
||||
import asyncio
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from core.modules.router import UnifiedRouter
|
||||
from core.util import logs
|
||||
|
||||
log = logs.get_logger("UR")
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
loop = asyncio.new_event_loop()
|
||||
@@ -13,6 +16,6 @@ class Command(BaseCommand):
|
||||
|
||||
instance = UnifiedRouter(loop)
|
||||
|
||||
#instance.start()
|
||||
# instance.start()
|
||||
|
||||
instance.run()
|
||||
instance.run()
|
||||
|
||||
Reference in New Issue
Block a user