adding nexttick
This commit is contained in:
parent
d1de921d46
commit
fddec49655
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue