mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 18:48:12 +08:00
adds qinfo management command
It seems more practical to give this its own command instead of `qmonitor --info`
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ def info(r=redis_client):
|
||||
reincarnations += cluster.reincarnations
|
||||
term.clear_eos()
|
||||
col_width = int(term.width / 6)
|
||||
print(term.black_on_green(term.center(_('-- {} clusters summary --').format(Conf.PREFIX))))
|
||||
print(term.black_on_green(term.center(_('-- {} summary --').format(Conf.PREFIX))))
|
||||
print(term.cyan(_('Clusters')) +
|
||||
term.move_x(1 * col_width) +
|
||||
term.white(str(clusters)) +
|
||||
|
||||
Reference in New Issue
Block a user