I recently installed flower 0.8.4, I created an snapshot in Digital Ocean and then launch a new server using this snapshot. Now flower is still showing the name of the old worker. How can I delete this worker while preserving existing worker information.
Celery starts:
worker -n celeryd@%h -f /usr/local/src/imbue/application/imbue/log/celeryd.log --loglevel=DEBUG --autoscale=50,10
Flower:
/usr/bin/python /usr/local/bin/flower --basic_auth=root:password --port=8082 --broker=amqp://user:password@rabbitmq:5672// --persistent=True --db=/usr/local/src/imbue/application/imbue/log/flower.db
A new option purge_offline_workers (--purge_offline_workers
/ FLOWER_PURGE_OFFLINE_WORKERS
) has been recently added to flower. This option removes offline workers from the flower dashboard.
For more information please refer to https://github.com/mher/flower/pull/852 and https://github.com/mher/flower/issues/604
Moreover, the latest version of mher/flower has a search box on the top right corner of the dashboard. By typing the word online
in the search box you can filter out all offline workers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With