Skip to content

Preserve .max(1) guard in WireframeServer::new to ensure at least one worker #13

@coderabbitai

Description

@coderabbitai

Summary

WireframeServer::new used to apply .max(1) to the default returned by num_cpus::get(), guaranteeing at least one worker task. The recent refactor removed this guard.

Context

Acceptance Criteria

  • Constructor again guarantees a minimum of 1 worker (or equivalent logic).
  • Unit test (or doc-test) covers the zero-CPU edge case, if feasible.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions