DONT MERGE: The programmatic ExecutorConfig is now the same as the xml based on

There is a difference in default value for poolsize between XML and programmatic. XML = 16, programmatic is 8.

Currently I have changed the programmatic one. The question is: which one do we want to change.