dont do the comments in a transaction, we build other jobs

This commit is contained in:
Maxwell Salzberg 2011-09-16 11:26:28 -07:00
parent 6c414d8562
commit 1343188ccb

View file

@ -46,8 +46,6 @@ module Diaspora
end
def receive(user, person=nil)
self.class.transaction do
comment_or_like = self.class.where(:guid => self.guid).first || self
#check to make sure the signature of the comment or like comes from the person claiming to authoring said comment or like
@ -74,7 +72,6 @@ module Diaspora
comment_or_like
end
end
end
# @return [Object]
def after_receive(user, person)