dont do the comments in a transaction, we build other jobs
This commit is contained in:
parent
6c414d8562
commit
1343188ccb
1 changed files with 19 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue