pushing updated socket.rb...
This commit is contained in:
parent
4af10a95fa
commit
4cd90a16a1
1 changed files with 1 additions and 4 deletions
|
|
@ -2,9 +2,6 @@ require 'em-websocket'
|
||||||
require 'eventmachine'
|
require 'eventmachine'
|
||||||
|
|
||||||
module WebSocket
|
module WebSocket
|
||||||
|
|
||||||
#mattr_accessor :channel
|
|
||||||
|
|
||||||
EM.next_tick {
|
EM.next_tick {
|
||||||
EM.add_timer(0.1) do
|
EM.add_timer(0.1) do
|
||||||
@channel = EM::Channel.new
|
@channel = EM::Channel.new
|
||||||
|
|
@ -29,7 +26,7 @@ module WebSocket
|
||||||
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
#this should get folded into message queue i think?
|
#this should get folded into message queue i think?
|
||||||
def self.update_clients(object)
|
def self.update_clients(object)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue