lib/outboxable/rabbitmq/publisher.rb in outboxable-0.1.3 vs lib/outboxable/rabbitmq/publisher.rb in outboxable-0.1.4
- old
+ new
@@ -27,10 +27,9 @@
end
return unless confirmed
@resource.reload
- @resource.increment_attempt
@resource.update(status: :published, retry_at: nil)
end
end
end
end