Skip to content

Commit

Permalink
Enable exchange pooling by default (expermient to let CI do full test…
Browse files Browse the repository at this point in the history
…ing for a few days). Revert after done.
  • Loading branch information
davsclaus committed Mar 9, 2021
1 parent db5f439 commit ca5bdf9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,8 @@ protected ExchangeFactory createExchangeFactory() {
ExchangeFactory.FACTORY,
ExchangeFactory.class);

return result.orElseGet(PrototypeExchangeFactory::new);
// TODO: experiment to use pooled by default (revert this commit after testing)
return result.orElseGet(PooledExchangeFactory::new);
}

@Override
Expand Down

0 comments on commit ca5bdf9

Please sign in to comment.