Contents of tabs is not updated with polling interval: off
dmitriy-kudelko opened this issue · comments
Hey guys!
Thanks for this great and useful app.
I'd like to report a UI issue which seemingly appeared in one of recent versions. I noticed it while upgrading to 5.14.1
.
Although tab headers are displayed properly, the bodies (content) are not. So the UI looks as follows:
Looks like it's something related to routing as refreshing the page fixes the issue. However you need to do it each time you navigate to a different queue in the sidebar.
P.S. I'm using @bull-board/nestjs
, but I guess it's just a wrapper, so I'm hopefully reporting this in the appropriate repo.
Hi @dmitriy-kudelko, thank you for reporting this issue.
I can't reproduce it with the express adapter (probably not related to server adapter at all)
Can you debug it? Check what do you get in the console.
There is the described behaviour, it refetches the new queue status.
Check the network, maybe there is some pending (un resolved requests)
Hi @felixmosh ,
Sure I've looked into it and no requests to /api/queues
are made when navigation between queues. They only happen when reloading or navigating to a specific queue using browser address bar. There are no errors in the console or long running requests.
So not sure what's going on.
Video
bull-queues-720.mov
Can u check if there is a setting that disables the refetch (delay: off)
@felixmosh , oh yeah, there indeed seems to be a bug related to polling... I had Polling interval
set to off.
When I set it to any other value (even 15 mins), queues data is properly fetched and displayed when navigating between tabs.
Can you elaborate?
polling interval = off, means it stops to poll the server.
I thing that you are right, it should refetch when navigating, but without the polling.
Thanx, I'll work on it asap
fixed on v5.14.2