OPS-13829 calculate_max_batch_size must at least return a 1 or higher (#145)
OPS-13829 calculate_max_batch_size must at least return a 1 or higher (#145)

* calculate_max_batch_size must at least return a 1 or higher

* optimize the new code

crunchyroll/ef-open