/** * How many items of each type to send in one sync session * @return int */ public static function getMaxItemsPerSync() { $items = Intelivemetrics_Unityreports_Model_Utils::getConfig('max_items_per_sync'); if (!$items || is_null($items)) { $items = Intelivemetrics_Unityreports_Model_Config::MAX_ITEMS_PER_SYNC; } return $items; }