Sha256: b3d52de4e18e0504bb51de417246f5de9c27a3947b90786c561ae7cf9e95ae33
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
require 'drb' require 'glue/configuration' require 'nitro/session' Logger.debug 'Using Drb sessions.' module Nitro class Session # The address of the Session DRb server. setting :drb_address, :default => '127.0.0.1', :doc => 'The address of the Session DRb server' # The port of the Session DRb server. setting :drb_port, :default => 9069, :doc => 'The port of the Session DRb server' end Session.store = DRbObject.new( nil, "druby://#{Session.drb_address}:#{Session.drb_port}" ) end # * George Moschovitis <gm@navel.gr>
Version data entries
5 entries across 5 versions & 1 rubygems