javamelody / grails-melody-plugin

JavaMelody monitoring plugin for Grails, to monitor application performance
https://plugins.grails.org/plugin/grails-melody-plugin
Apache License 2.0
32 stars 31 forks source link

grails-melody-plugin must load after grails-quartz plugin to allow full reconfiguration of the scheduler thread #46

Closed jukin-jerry closed 7 years ago

jukin-jerry commented 7 years ago

If the grails-melody-plugin loads before the grails-quartz plugin, any re-configurations of the quartz scheduler thread in the Grails application do not happen when melody initializes, which results in the default scheduler thread always loading with the default configuration out of the box. If the Grails application wants to have a different scheduler thread configuration, two are created, causing issues at application shutdown.

Simple solution is to include 'quartz' in the loadAfter property of the grails-melody plugin.

Will add pull request.

jukin-jerry commented 7 years ago

https://github.com/javamelody/grails-melody-plugin/pull/47

evernat commented 7 years ago

merged