diff --git a/eoptasks.py b/eoptasks.py index 550f5b3..515971d 100755 --- a/eoptasks.py +++ b/eoptasks.py @@ -235,6 +235,9 @@ else: # combo.reload is useful to get a new {% start_timestamp %} after an # upgrade of publik-base-theme. 'combo.reload': '''sudo service combo reload; /bin/true''', + # hobo-agent.restart is the fastest way to get the number of threads + # used by celery under control :/ + 'hobo-agent.restart': '''test -e /etc/hobo-agent/settings.py && sudo supervisorctl restart hobo-agent''', }.get(args.cmd, args.cmd) status_window = session.attached_window