felixmosh / bull-board

🎯 Queue background jobs inspector
MIT License
2.36k stars 366 forks source link

clean jobs for all queues in dashboard #767

Closed Diluka closed 2 months ago

Diluka commented 5 months ago
image

add clean buttons in the dashboard header. each button clean each type of jobs for all queues

felixmosh commented 5 months ago

I guess that it should be located in dashboard page (not inside a specific queue page.)

Diluka commented 5 months ago

I guess that it should be located in dashboard page (not inside a specific queue page.)

this is dashboard page

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Diluka commented 3 weeks ago

We encountered a situation where a 30+ megabyte file was accidentally put into the data in base64 format. Then there were more than 1,000 history records, and the browser would freeze when opening the page. So we hope there is a function to clear the queue job outside the queue details page, so that the job can be cleared directly without loading any job data. @felixmosh

felixmosh commented 3 weeks ago

Hi @Diluka You can add a "data" formatter on your setup, just to show the board, than remove the job

queueAdapter.setFormatter('data', (data) => redact(data));