Skip to content

Commit 6844cc7

Browse files
effronsmudge
andauthored
Update app/models/journaled/outbox/event.rb
Co-authored-by: Nathan G <nathan@ngriffith.com>
1 parent 7e25ac2 commit 6844cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/journaled/outbox/event.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Event < Journaled.outbox_base_class_name.constantize
3131
def self.fetch_batch_for_update
3232
ready_to_process
3333
.limit(Journaled.worker_batch_size)
34-
.lock('FOR UPDATE')
34+
.lock
3535
.to_a
3636
end
3737

0 commit comments

Comments
 (0)