[FIXED JENKINS-22840] Make ring buffer size configurable