setting batch size for queue