Skip to content

add a config parameter to motion/builtin that sets a default number of threads to use #5015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2025

Conversation

raybjork
Copy link
Member

This would be useful to users who want to configure this parameter across every call they make to the motion service

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label May 28, 2025
@raybjork raybjork requested a review from randhid May 28, 2025 23:29
return []string{framesystem.InternalServiceName.String()}, nil, nil
}

type builtIn struct {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moving this code to a place that is more consistent with where it is in the rest of rdk/modules

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels May 28, 2025
components map[resource.Name]resource.Resource
logger logging.Logger
state *state.State
configuredDefaultExtras map[string]any
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@raybjork raybjork merged commit 270cb04 into viamrobotics:main May 29, 2025
18 checks passed
@raybjork raybjork deleted the num-threads branch May 29, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants