Skip to content

Conversation

generall
Copy link
Member

Two reasons for it:

  • option is obsolete and there are no cases to use it anymore. It's functionality is completely replaces by optimizer_cpu_budget

  • this option might be confusing, as its name overlaps with per-collection configuration, which have different semantics and different behavior for 0 value

  • remove max_optimization_threads from config.yaml

  • fmt

@generall generall requested a review from timvisee June 26, 2025 08:05

This comment was marked as resolved.

Copy link
Member

@timvisee timvisee left a comment

Choose a reason for hiding this comment

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

Looks good.

Back in the day we kept it for backwards compatibility, but I'm okay with removing it in 1.15.

@generall
Copy link
Member Author

Back in the day we kept it for backwards compatibility, but I'm okay with removing it in 1.15.

I would argue that we don't want this functionality to be adjustable anymore

@generall generall merged commit c11b963 into dev Jun 26, 2025
18 checks passed
@generall generall deleted the remove-max-indexing-threads-from-config branch June 26, 2025 08:26
generall added a commit that referenced this pull request Jul 17, 2025
* remove max_optimization_threads from config.yaml

* fmt
@Adit2607
Copy link

in the release, it says max_indexing_threads is deprecated, but in the PR can see max_optimization_threads are removed from config. Are these linked? should we use optimizer_cpu_budget for indexing threads also?

@timvisee
Copy link
Member

timvisee commented Aug 15, 2025

in the release, it says max_indexing_threads is deprecated, but in the PR can see max_optimization_threads are removed from config. Are these linked?

It is max_optimization_threads that is removed. I'll update the release notes.

should we use optimizer_cpu_budget for indexing threads also?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants