instance method max_allowed_packet

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

Signature

max_allowed_packet()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 558
        def max_allowed_packet
          bytes_margin = 2
          @max_allowed_packet ||= (show_variable("max_allowed_packet") - bytes_margin)
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb line 558 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close