module Einhorn::TransientState

Public Class Methods

default_state() click to toggle source
# File lib/einhorn.rb, line 79
def self.default_state
  {
    :whatami => :master,
    :script_name => nil,
    :argv => [],
    :environ => {},
    :has_outstanding_spinup_timer => false,
    :stateful => nil,
    # Holds references so that the GC doesn't go and close your sockets.
    :socket_handles => Set.new
  }
end