Skip to content

Commit 85a5e0e

Browse files
committed
Update metadata interface
1 parent 8d83b19 commit 85a5e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ SolidQueue::Batch.enqueue(
641641
on_finish: BatchFinishJob,
642642
on_success: BatchSuccessJob,
643643
on_failure: BatchFailureJob,
644-
metadata: { user_id: 123 }
644+
user_id: 123
645645
) do
646646
5.times.map { |i| SleepyJob.perform_later(i) }
647647
end

0 commit comments

Comments
 (0)