Get the current total object size limit used by the size controller.
| 441 | |
| 442 | // Get the current total object size limit used by the size controller. |
| 443 | size_t getTotalObjectSizeLimit() const { |
| 444 | return sizeController_ == nullptr |
| 445 | ? config_.totalObjectSizeLimit |
| 446 | : sizeController_->getTotalObjectSizeLimit(); |
| 447 | } |
| 448 | |
| 449 | // Update the total object size limit used by the size controller. The limit |
| 450 | // must be positive and takes effect when the size controller next runs. |