commited by ldong for TPS-771:tRecollector gives code error when using
parrelization.