FriendsOfShopware / FroshTools

A collection of useful tools for Shopware 6
MIT License
61 stars 27 forks source link

Fix message queue monitoring #236

Closed danielDHH closed 8 months ago

danielDHH commented 8 months ago

Currently the QueueChecker shows a warning when a delayed message is dispatched (for example after bin/console theme:compile). This gets fixed by ignoring messages which should be handled in the future.

Also the MonitoringCommand isn't working correctly. It is using the created_at column instead of available_at. Furthermore there is an error while casting the date-string to an integer. "2024-01-18 14:08:32" becomes 2024 which then gets used as a timestamp which is obviously wrong. This gets fixed by using the strtotime() function.

shyim commented 8 months ago

Thank you :)