Model creates a temporary Execution which in turn creates an empty Context.
Creating an empty Context creates a single threaded executor.
Just leave it as null as it will get a proper value afterwards.
@@ -123,7 +123,7 @@ public class Execution extends com.yahoo.processing.execution.Execution {
this.tokenRegistry = tokenRegistry;
this.rendererRegistry = rendererRegistry;
this.linguistics = linguistics;
- this.executor = executor != null ? executor : Executors.newSingleThreadExecutor();
+ this.executor = executor;
}
/** @deprecated pass an executor */
