gtully commented on code in PR #6067:
URL: https://github.com/apache/activemq-artemis/pull/6067#discussion_r2541358770
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/PrimaryOnlyActivation.java:
##########
@@ -67,6 +67,10 @@ public PrimaryOnlyPolicy getPrimaryOnlyPolicy() {
@Override
public void run() {
try {
+ if
(activeMQServer.getConfiguration().getConfigurationFileRefreshPeriod() > 0) {
Review Comment:
I think ideally it would need to be tied into the reload manager, but that
is not started till later.
I guess a simple check to verify that the current time is > startup +
refresh period would cover it. good idea.
it depends though on when startup time is set! I will investigate. thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact