Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ardavis's full-sized avatar

Andrew Davis ardavis

  • NASA - Kennedy Space Center
  • Kennedy Space Center, FL
View GitHub Profile
@ardavis
ardavis / gist:5750754
Created June 10, 2013 17:43
Attempting to use Celluloid::Websocket::Client within a Sidekiq::Worker
class MyActor
include Celluloid
include Celluloid::Logger
attr_reader :client
def initialize
@client ||= Celluloid::WebSocket::Client.new('wss://localhost:10000', current_actor)
end
end