romanzipp / Laravel-Queue-Monitor

Monitoring Laravel Jobs with your Database
https://packagist.org/packages/romanzipp/laravel-queue-monitor
MIT License
698 stars 92 forks source link

Auto clean-up task? #105

Closed javis closed 1 year ago

javis commented 1 year ago

It would be useful to have a laravel command to clean up old tasks on a schedule. Is there anything like that planned for the package?

romanzipp commented 1 year ago

I'm planning on adding such a command in version 3 of this package. Already working on #103 but I don't have much time working on this right now. Should be finished in Q1 2023

javis commented 1 year ago

That sounds great, thanks!

El mié, 21 de dic. de 2022 16:59, Roman Zipp @.***> escribió:

I'm planning on adding such a command in version 3 of this package. Already working on #103 https://github.com/romanzipp/Laravel-Queue-Monitor/pull/103 but I don't have much time working on this right now. Should be finished in Q1 2023

— Reply to this email directly, view it on GitHub https://github.com/romanzipp/Laravel-Queue-Monitor/issues/105#issuecomment-1362024053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHIMUGVSMODZ7ZA4IR3YKTWONORFANCNFSM6AAAAAATEZEYEM . You are receiving this because you authored the thread.Message ID: @.***>

romanzipp commented 1 year ago

I've finished work on the next major version 3.0 (PR #103) which will resolve this issue but also contains some breaking changes. Would you be willing to test this version out before I tag a stable release?

Please reference the upgrade guide for further instructions.

composer require romanzipp/laravel-queue-monitor "^3.0.0"
javis commented 1 year ago

Hi! thanks for looking into this, I will test this version now.

javis commented 1 year ago

Hi! the route configuration doesn't seem to be working for me, I can not access the UI page

romanzipp commented 1 year ago

Thanks for testing! Did you change your current queue-monitor.php config file for the newly added values ui.enabled and ui.route?

javis commented 1 year ago

Yes I did! :)