[FIX] Apply batch size to prefetch#2023
Conversation
Default value 32 might be too much
|
I'm confused here... You applying the batchSize to prefetch saying 32 might be too much... that implies that configration has been changed for batchSizes, with the assumption the user running James put it lower than 32. However, default batch size value in the code is defined at 200 if conf is missing in batchsize.properties, and also default values in the sample conf files are defined like this: Wouldn't this change make things worse as is in the end, as batchsize default values are higher than 32? |
|
I agressively decreased this on one of our customer infrastructure |
James is an ASF project, not a Linagora/customer project :) I understand you likely did that on that platform, my question is what happens for other people using James with default batch values here in that case? Not sure it's beneficial in this state |
This is completly unrelated. Please step down. I mean if I set batchSizes to 1 I expect 1 message in memory not 1 message in memory and 32 prefetched... BTW |
|
Misunderstood on my end, sorry. Alright then |
Default value 32 might be too much