mher / flower

Real-time monitor and web admin for Celery distributed task queue

Home Page:https://flower.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flower API ignores all parameters except the first

Stormhand opened this issue · comments

commented

Describe the bug
The API seems to accept only the first parameter. I use it with status and refresh like this:
curl $FLOWER_HOST/api/workers?refresh=1&status=1 which will execute only refresh. Swapping them accepts only status. With this bug i can only use either fresh data or short status.
The Flower docker image is the one which comes with Airflow.

To Reproduce
Steps to reproduce the behavior:

  1. Execute curl $FLOWER_HOST/api/workers?refresh=1&status=1
  2. Execute curl $FLOWER_HOST/api/workers?status=1&refresh=1
  3. Both results are different

Expected behavior
The API should behave equally no matter how the parameters are passed.

Screenshots
If applicable, add screenshots to help explain your problem.

System information

software -> celery:5.2.7 (dawn-chorus) kombu:5.2.4 py:3.9.13
            billiard:3.6.4.0 py-amqp:5.1.1
platform -> system:Linux arch:64bit
            kernel version:3.10.0-1160.45.1.el7.x86_64 imp:CPython
loader   -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled

deprecated_settings: None```