Skip to content

Conversation

@dianbofa
Copy link
Contributor

@dianbofa dianbofa commented May 7, 2025

  • Added the queue_name parameter to Job.enqueue(), allowing users to specify an existing queue name.

  • If queue_name is not provided, the default model queue will be used.

  • This enhancement improves job scheduling flexibility by enabling targeted execution in specific queues.

Fixes: #18419

- Added the queue_name parameter to Job.enqueue(), allowing users to specify an existing queue name.

- If queue_name is not provided, the default model queue will be used.

- This enhancement improves job scheduling flexibility by enabling targeted execution in specific queues.
@jeremystretch jeremystretch requested review from a team and arthanson and removed request for a team May 7, 2025 13:12
@arthanson
Copy link
Collaborator

@dianbofa enqueue function is never called with the queue_name set. Do you see this being used externally by scripts or just for future use?

@dianbofa
Copy link
Contributor Author

dianbofa commented May 8, 2025

@dianbofa enqueue function is never called with the queue_name set. Do you see this being used externally by scripts or just for future use?

The queue_name parameter enables more flexible task queue configuration for external scripts while supporting future system scalability.

@dianbofa dianbofa mentioned this pull request May 8, 2025
@arthanson arthanson merged commit 0c04a8d into netbox-community:main May 8, 2025
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enabling multi-worker parallel task processing

2 participants