Skip to content

Setting for the number of threads does not accept 0 #603

@adityasharad

Description

@adityasharad

Describe the bug
@yoff reports that the settings UI for the number of threads when running queries or tests does not accept 0 as input.

Expected behavior
0 is passed to the corresponding CLI commands, where it is interpreted as 'use one thread per core on the machine'.
A positive integer continues to be used as-is, and a blank setting defaults to 1.

Additional context
CLI docs for --threads argument in execute query-server and test run.

Metadata

Metadata

Assignees

Labels

VSCodebugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions