| CloudHub |
CloudHub 2.0 |
For affected applications, CloudHub prevents overlapping executions of the same Scheduler even when the Scheduler source’s disallowConcurrentExecution setting is false or omitted. |
CloudHub 2.0 honors the disallowConcurrentExecution setting. If the setting is false or omitted, another execution can start before the previous execution finishes. |
This issue applies only when you migrate an application from CloudHub to CloudHub 2.0. Review each Scheduler that has a small interval, such as less than one second, and can run longer than its configured interval, when disallowConcurrentExecution is false or omitted. CloudHub 2.0 can start overlapping executions that consume the application thread pool shared by all flows. Excessive queued executions can delay or prevent other flows from running.
To prevent overlapping executions after migration, explicitly set disallowConcurrentExecution="true". If a trigger becomes due while the previous execution is still running, CloudHub 2.0 skips that trigger and tries again at the next configured interval.
When an affected Scheduler has a very short interval, skipped triggers can generate excessive INFO-level log messages. To suppress INFO-level messages from org.mule.runtime.core.internal.source.scheduler.DefaultSchedulerMessageSource, including the repeated Execution skipped message, set its log level to WARNING in the application’s Monitoring tab. Applying the log-level change restarts the application. For instructions, see Configure Log Levels and Categories.
For more information about the Scheduler source setting, see Scheduler.