Sha256: 9f9bdd9405ec966818cfb7dcddff332b5eb7977af3f1a026bda1f4f2001ddbfa
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
module LambdaPunch class Server include Singleton class << self def uri 'druby://127.0.0.1:9030' end def start! require 'concurrent' LambdaPunch.logger.info "Server.start!..." instance end end def initialize @queue = Queue.new DRb.start_service self.class.uri, @queue rescue Errno::EADDRINUSE end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lambda_punch-1.1.4 | lib/lambda_punch/server.rb |