P.S. There is also the issue that http://127.0.0.1:8000/saq does not work and needs to be http://127.0.0.1:8000/saq/ or in opposite manner http://127.0.0.1:8000/saq/queues/default works but http://127.0.0.1:8000/saq/queues/default/ does not, but that's upstream issue with the way routes regex is constructed.
Hello,
at the current state the web ui
web_enabled=True,
is not functioning (or at least the same assaq
).There are two issues.
http://127.0.0.1:8000/saq/queues/default
does not show the jobs. In order to do so we need to do the following change,https://github.com/cofin/litestar-saq/blob/main/litestar_saq/controllers.py#L68
The respective code in
saq
is https://github.com/tobymao/saq/blob/f7c5d9d9f4772b9db741a7507a2843e1134dd5a7/saq/web/starlette.py#L67https://github.com/cofin/litestar-saq/blob/main/litestar_saq/controllers.py#L18
The respective code in
saq
is https://github.com/tobymao/saq/blob/f7c5d9d9f4772b9db741a7507a2843e1134dd5a7/saq/web/starlette.py#L109Thank you and best wishes
P.S. There is also the issue that
http://127.0.0.1:8000/saq
does not work and needs to behttp://127.0.0.1:8000/saq/
or in opposite mannerhttp://127.0.0.1:8000/saq/queues/default
works buthttp://127.0.0.1:8000/saq/queues/default/
does not, but that's upstream issue with the wayroutes
regex is constructed.