ShaneK / Matador

Front-end web interface for Bull Job Manager
MIT License
98 stars 51 forks source link

Added - queue level job management #23

Closed vasumahesh1 closed 8 years ago

vasumahesh1 commented 8 years ago

Hi,

I noticed some issues when the number of items in the bull queue surpass 50K or more. It becomes very difficult to clear jobs like completed/failed etc. Sometimes the tab also crashes as the Javascript tries to load those 50K jobs all at the same time.

I added this hotfix to allow people to clear jobs right from the /queues controller.

screenshot from 2016-01-05 00 44 08

Let me know about any changes.

Thanks!

ShaneK commented 8 years ago

Thank you for the PR, it has been merged in and is live on npm. A good long term solution would be pagination, I don't know why I never implemented it before.

vasumahesh1 commented 8 years ago

Thanks!, Another solution can be List virtualization

ShaneK commented 8 years ago

True. Unfortunately I didn't know much about React or even Angular at the time I wrote this. The front-end is definitely not as good as it could be.