Skip to content

Update our usage of workerpools (backport #2995)#3279

Merged
azeey merged 1 commit intoign-gazebo6from
mergify/bp/ign-gazebo6/pr-2995
Jan 22, 2026
Merged

Update our usage of workerpools (backport #2995)#3279
azeey merged 1 commit intoign-gazebo6from
mergify/bp/ign-gazebo6/pr-2995

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Jan 20, 2026

🦟 Bug fix

Summary

In SimulationRunner, we initialize a worker pool but we never actually use it so it's pure overhead. In ServerPrivate we only use the worker pool if there are multiple simulation runners, so we can optimize for the most common use case of one runner.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Generated-by: Remove this if GenAI was not used.

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.


This is an automatic backport of pull request #2995 done by Mergify.

In `SimulationRunner`, we initialize a worker pool but we never actually
use it so it's pure overhead. In `ServerPrivate` we only use the
worker pool if there are multiple simulation runners, so we can optimize
for the most common use case of one runner.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
(cherry picked from commit 5ce62a8)
@mergify mergify Bot requested a review from arjo129 as a code owner January 20, 2026 19:37
@mergify mergify Bot mentioned this pull request Jan 20, 2026
9 tasks
@github-actions github-actions Bot added the 🏯 fortress Ignition Fortress label Jan 20, 2026
@github-project-automation github-project-automation Bot moved this from Inbox to In review in Core development Jan 20, 2026
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Jan 21, 2026

@osrf-jenkins run tests please!

@azeey
Copy link
Copy Markdown
Contributor

azeey commented Jan 22, 2026

The warnings in the Jammy CI are also in the stable branch https://build.osrfoundation.org/job/gz_sim-ci-ign-gazebo6-jammy-amd64/5/. I'll go ahead and merge.

@azeey azeey merged commit 2c1e705 into ign-gazebo6 Jan 22, 2026
11 of 12 checks passed
@azeey azeey deleted the mergify/bp/ign-gazebo6/pr-2995 branch January 22, 2026 15:40
@github-project-automation github-project-automation Bot moved this from In review to Done in Core development Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏯 fortress Ignition Fortress

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants