forked from e621ng/e621ng
add message group id for post archives
This commit is contained in:
parent
40d24278cf
commit
efe5e0e95e
@ -59,7 +59,7 @@ class PoolArchive < ActiveRecord::Base
|
||||
category: pool.category
|
||||
}
|
||||
msg = "add pool version\n#{json.to_json}"
|
||||
sqs_service.send_message(msg)
|
||||
sqs_service.send_message(msg, message_group_id: "#{pool.id}")
|
||||
end
|
||||
|
||||
def build_diff(other = nil)
|
||||
|
@ -74,7 +74,7 @@ class PostArchive < ActiveRecord::Base
|
||||
"tags" => post.tag_string
|
||||
}
|
||||
msg = "add post version\n#{json.to_json}"
|
||||
sqs_service.send_message(msg)
|
||||
sqs_service.send_message(msg, message_group_id: "#{post.id}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user