- Issue created by @j_bekaert
- Merge request !22Issue #3450538: Add possibility to disable cron / queue warnings → (Closed) created by j_bekaert
- last update
7 months ago 65 pass - 🇪🇸Spain rodrigoaguilera Barcelona
Have you considered making the two thresholds configurable instead. I think I would improve the code by hardcoding less values and serve the same purpose if you set high thresholds.
I think this subscriber is way too aggressive throwing messages even for ajax requests. The rest of modules implement a hook_requirements so admins can be notified properly.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...
- 🇬🇧United Kingdom BWilliams1992
Made a quick patch based off #3. Warning is no-longer displayed as a message but on the requirements screen.
- Status changed to Fixed
3 months ago 3:56pm 17 September 2024 Got rid of request subscriber that showed cron related warning messages on all pages for users with see smartling messages and moved messages to requirements hook that renders those messages at the status page - proper place for such messages I believe.
Also, moved hook requirements implementation from module file to install file.thanks
Automatically closed - issue fixed for 2 weeks with no activity.