You are here

function _acquia_purge_get_capacity_maxrequests in Acquia Purge 7

DEPRECATED: Calculate the maximum amount of outgoing HTTP requests we can make.

File

./acquia_purge.deprecated.inc, line 129
Deprecated functions.

Code

function _acquia_purge_get_capacity_maxrequests() {
  _acquia_purge_deprecated('_acquia_purge_service()->capacity()->httpRequestsLimit()');
  return _acquia_purge_service()
    ->capacity()
    ->httpRequestsLimit();
}