Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to reset statistics from board #36

Closed
wemersonrv opened this issue Aug 23, 2020 · 5 comments
Closed

Need to reset statistics from board #36

wemersonrv opened this issue Aug 23, 2020 · 5 comments

Comments

@wemersonrv
Copy link

Good night.

Where are stored the data showed on the job statistics displayed on Bull Dashboard?

Need to clear them here but don't found!

@wemersonrv
Copy link
Author

Hello? Is this package died because there are no answers after several months???

@fhugoduarte
Copy link

Hey @wemersonrv , forgiveness for the delay 😞

adonis-bull use the bull-board package, it fetches this information from the queue, that is, it will be stored in redis. The bull-board offers the options to clean some jobs.

We're working on a new version compatible with adonis5 and we will update the bull-board.

I hope it was useful.

@jpedroschmitz
Copy link
Contributor

jpedroschmitz commented Jan 27, 2021

Hey @wemersonrv, on the latest release, that added support for Adonis 5, we have updated the bull-board package to the latest version, where it is now possible to clear all completed/failed jobs or delete specific ones. That's the reason I'm closing this issue, if you have any questions, let me know.

shot

If you want to know more about the new version of Adonis Bull, click here.

@wemersonrv
Copy link
Author

Hello,

I'm still on the version 0.2.3 due to compatibility issues on my project, because i don't update it to adonis 5 yet.

Well i'm having an annoying issue when it gets a large amount of jobs list on board (completed, failed, etc)... it gets a lot of memory and is going to use a lot of swap. Last server i've checked it has about 50K completed jobs on list and it costs me a lot of memory, and after clean the jobs; it frees a lot of memory.

So, there is some method that i need to call from my project to empty old messages so i put it in a scheduled job to keep only a list with last month jobs?

@wemersonrv
Copy link
Author

Hello, updating... The dashboard is giving me the error ERR_CONNECTION_REFUSED, but just the dashboard has this issue. It works fine and the Jobs are working.

OS: Ubuntu Server 20.04
Nodejs: v12.22.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants