Skip to content

Commit

Permalink
[hotfix] read from old and new parallelism config key
Browse files Browse the repository at this point in the history
regression of c635802
  • Loading branch information
mxm committed Aug 12, 2015
1 parent a41bc8c commit 7349ef8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected StreamContextEnvironment(Client client, List<File> jars, int paralleli
} else {
// first check for old parallelism config key
setParallelism(GlobalConfiguration.getInteger(
ConfigConstants.DEFAULT_PARALLELISM_KEY,
ConfigConstants.DEFAULT_PARALLELISM_KEY_OLD,
ConfigConstants.DEFAULT_PARALLELISM));
// then for new
setParallelism(GlobalConfiguration.getInteger(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected StreamPlanEnvironment(ExecutionEnvironment env) {
} else {
// first check for old parallelism config key
setParallelism(GlobalConfiguration.getInteger(
ConfigConstants.DEFAULT_PARALLELISM_KEY,
ConfigConstants.DEFAULT_PARALLELISM_KEY_OLD,
ConfigConstants.DEFAULT_PARALLELISM));
// then for new
setParallelism(GlobalConfiguration.getInteger(
Expand Down

0 comments on commit 7349ef8

Please sign in to comment.