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]}")
|
Rails.logger.error("Received post for nonexistent person #{params[:id]}")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
EM::next_tick {
|
||||||
|
puts "foobar!"
|
||||||
@user.receive_salmon params[:xml]
|
@user.receive_salmon params[:xml]
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue