未验证 提交 dbcf785e 编写于 作者: E Eric_Lee 提交者: GitHub

add flower view (#4078)

上级 e6cd1260
......@@ -31,7 +31,8 @@ api_v2 = [
app_view_patterns = [
path('auth/', include('authentication.urls.view_urls'), name='auth'),
path('ops/', include('ops.urls.view_urls'), name='ops')
path('ops/', include('ops.urls.view_urls'), name='ops'),
re_path(r'flower/(?P<path>.*)', views.celery_flower_view, name='flower-view'),
]
......
......@@ -251,7 +251,7 @@ def get_start_flower_kwargs():
'celery', 'flower',
'-A', 'ops',
'-l', 'INFO',
'--url_prefix=flower',
'--url_prefix=/core/flower',
'--auto_refresh=False',
'--max_tasks=1000',
'--tasks_columns=uuid,name,args,state,received,started,runtime,worker'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册