From c6b9ce19f65b671501ea2926151494f30fe56b50 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Wed, 4 Jun 2025 10:29:48 -0500 Subject: [PATCH] small doc improvement for InsertOpts I realized while using this yesterday that it wasn't totally obvious the job-level default would take precedence over `QueueDefault`. Hopefully this clarifies it. --- insert_opts.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/insert_opts.go b/insert_opts.go index 3279c0dc..341ed789 100644 --- a/insert_opts.go +++ b/insert_opts.go @@ -51,7 +51,8 @@ type InsertOpts struct { // Queue is the name of the job queue in which to insert the job. // - // Defaults to QueueDefault. + // Defaults to the job kind's default queue if set via + // `JobArgsWithInsertOpts`, or QueueDefault if not. Queue string // ScheduledAt is a time in future at which to schedule the job (i.e. in