diff --git a/lib/rocketamf/remote_gateway/request.rb b/lib/rocketamf/remote_gateway/request.rb index 5eef1ab6..3c442f07 100644 --- a/lib/rocketamf/remote_gateway/request.rb +++ b/lib/rocketamf/remote_gateway/request.rb @@ -12,7 +12,8 @@ module RocketAMF def fetch uri = @service.gateway.uri data = envelope.serialize - if defined?(EventMachine) && EventMachine.respond_to?(:reactor_running?) && EventMachine.reactor_running? + # TODO: re-enable if we go back to using threads + if false && defined?(EventMachine) && EventMachine.respond_to?(:reactor_running?) && EventMachine.reactor_running? req = EM::HttpRequest.new(uri).post :body => data response_body = req.response else