Answer the question
In order to leave comments, you need to log in
How to fix rails faye thin memory leaks?
Rails 4.1.4 ruby 2.2
Faye controller looks like this
class RealAppointmentsController < FayeRails::Controller
end
config.middleware.delete Rack::Lock
config.middleware.use FayeRails::Middleware, mount: '/faye', :timeout => 25 do
map '/appointments' => RealAppointmentsController
map :default => :block
end
RealAppointmentsController.publish('/appointments', @appointment.to_json)
subscription.cancel();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question