Skip to content
Snippets Groups Projects
Commit a42f6ad9 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

contexts are also merged in addThreadableStage

parent b211f34b
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ public class ConfigurationContext {
* @see AbstractCompositeStage#addThreadableStage(Stage)
*/
final void addThreadableStage(final Stage stage, final String threadName) {
mergeContexts(stage);
if (this.threadableStages.put(stage, threadName) != null) {
LOGGER.warn("Stage " + stage.getId() + " was already marked as threadable stage.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment