lib/vim_channels/backends/base.rb
def config
        # See http://rubyeventmachine.com/pub/rdoc/files/EPOLL.html
        EventMachine.epoll unless no_epoll?

        # Set the maximum number of socket descriptors that the server may open.
        # The process needs to have the required privileges to set it higher
        # than 1024 on some systems.
        return if VimChannels.win?

        @maximum_connections =
          EventMachine.set_descriptor_table_size(@maximum_connections)
      end
# Configure the backend. This method will be called before dropping
# superuser privileges, so you can do lots of stuff here.
#
# @return [void]
Configure the backend. This method will be called before dropping
superuser privileges, so you can do lots of stuff here.
Configure the backend . This method will be called before dropping superuser privileges so you can do lots of stuff here .
def config
        EventMachine.epoll unless no_epoll?
        return if VimChannels.win?
        @maximum_connections =
          EventMachine.set_descriptor_table_size(@maximum_connections)
      end
def config EventMachine . epoll unless no_epoll? return if VimChannels . win? @maximum_connections = EventMachine . set_descriptor_table_size ( @maximum_connections ) end
Configure the backend.
Configure the backend .
# See http://rubyeventmachine.com/pub/rdoc/files/EPOLL.html # Set the maximum number of socket descriptors that the server may open. # The process needs to have the required privileges to set it higher # than 1024 on some systems.
None
void