vendor/bundle/ruby/2.0.0/gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/new_relic_service.rb
# Raises an UnrecoverableServerException if the post_string is longer
# than the limit configured in the control object
Raises an UnrecoverableServerException if the post_string is longer
than the limit configured in the control object
Raises an UnrecoverableServerException if the post_string is longer than the limit configured in the control object
def check_post_size(post_string)
        return if post_string.size < Agent.config[:post_size_limit]
        ::NewRelic::Agent.logger.debug "Tried to send too much data: #{post_string.size} bytes"
        raise UnrecoverableServerException.new('413 Request Entity Too Large')
      end
def check_post_size ( post_string ) return if post_string . size < Agent . config [ :post_size_limit ] :: NewRelic :: Agent . logger . debug "Tried to send too much data: #{post_string.size} bytes" raise UnrecoverableServerException . new ( '413 Request Entity Too Large' ) end
Raises an UnrecoverableServerException if the post_string is longer
than the limit configured in the control object
Raises an UnrecoverableServerException if the post_string is longer than the limit configured in the control object
post_string