mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 23:47:40 +00:00
fix: 将flower放到web服务中;修复账号列表过滤节点的逻辑,获取所有子节点。
This commit is contained in:
@@ -36,7 +36,7 @@ class Services(TextChoices):
|
||||
|
||||
@classmethod
|
||||
def web_services(cls):
|
||||
return [cls.gunicorn, cls.daphne]
|
||||
return [cls.gunicorn, cls.daphne, cls.flower]
|
||||
|
||||
@classmethod
|
||||
def celery_services(cls):
|
||||
@@ -44,7 +44,7 @@ class Services(TextChoices):
|
||||
|
||||
@classmethod
|
||||
def task_services(cls):
|
||||
return cls.celery_services() + [cls.beat, cls.flower]
|
||||
return cls.celery_services() + [cls.beat]
|
||||
|
||||
@classmethod
|
||||
def all_services(cls):
|
||||
|
Reference in New Issue
Block a user