adding nexttick

This commit is contained in:
maxwell 2010-10-27 18:02:06 -07:00
parent d1de921d46
commit fddec49655

View file

@ -46,7 +46,11 @@ class PublicsController < ApplicationController
Rails.logger.error("Received post for nonexistent person #{params[:id]}")
return
end
@user.receive_salmon params[:xml]
EM::next_tick {
puts "foobar!"
@user.receive_salmon params[:xml]
}
end
end