# File lib/amq/client/async/adapter.rb, line 599
        def handle_tune(tune_ok)
          @channel_max        = tune_ok.channel_max.freeze
          @frame_max          = tune_ok.frame_max.freeze
          @heartbeat_interval = self.heartbeat_interval || tune_ok.heartbeat

          self.send_frame(Protocol::Connection::TuneOk.encode(@channel_max, [settings[:frame_max], @frame_max].min, @heartbeat_interval))
        end