ARTEMIS-1628 Fixing typo on limit pool size check
This commit is contained in:
parent
5bc1f13297
commit
a82ffbcb78
|
@ -863,7 +863,7 @@ public class ConfigurationImpl implements Configuration, Serializable {
|
|||
@Override
|
||||
public Configuration setJournalPoolFiles(int poolSize) {
|
||||
this.journalPoolFiles = poolSize;
|
||||
if (!Env.isTestEnv()) {
|
||||
if (!Env.isTestEnv() && poolSize < 0) {
|
||||
ActiveMQServerLogger.LOGGER.useFixedValueOnJournalPoolFiles();
|
||||
}
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue