lib/rrj/tools/gem/cluster.rb in ruby_rabbitmq_janus-2.2.0.pre.42 vs lib/rrj/tools/gem/cluster.rb in ruby_rabbitmq_janus-2.2.0.pre.159
- old
+ new
@@ -6,17 +6,12 @@
# # Manage Janus instance
class Cluster
include Singleton
- attr_reader :sessions
-
# Initialize object for managing each instance to Janus
def initialize
@current_instance = nil
- @sessions = []
- rescue
- raise Errors::Tools::Cluster::Initializer
end
# Create session (just one Janus Instance)
def create_session
@current_instance = 1