Skip to content

Add scan budget controls#37

Closed
AmirrezaFarnamTaheri wants to merge 1 commit into
WhiteDNS:mainfrom
AmirrezaFarnamTaheri:scan-budget-controls
Closed

Add scan budget controls#37
AmirrezaFarnamTaheri wants to merge 1 commit into
WhiteDNS:mainfrom
AmirrezaFarnamTaheri:scan-budget-controls

Conversation

@AmirrezaFarnamTaheri

@AmirrezaFarnamTaheri AmirrezaFarnamTaheri commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add scan worker budget presets for quick, balanced, deep, expert, high, and max scan runs up to 128 workers
  • keep the worker slider available for custom values while clamping UI, persisted settings, and service launch requests to the shared scan limit
  • update scan guidance so higher budgets clearly communicate battery, heat, CPU, and upload tradeoffs

Notes

  • The default remains conservative; higher budgets are opt-in from the Scan tab.
  • This changes scanner worker budget controls only and does not change StormDNS internals.

Verification

  • git diff --check
  • conflict-marker search across tracked source files

Expose quick, balanced, deep, and expert resolver scan worker presets up to 128 workers while preserving the slider for custom values.

Clamp persisted and launched scan worker counts to the shared scan limit so UI, stored settings, and service launch requests agree.

Adjust user-facing scan guidance based on the selected worker budget and add coverage for built-in/custom budget detection.
@AmirrezaFarnamTaheri

Copy link
Copy Markdown
Contributor Author

Closing this smaller branch to keep the active upstream queue non-overlapping. Its scan-budget direction will be handled in a later resolver-testing batch after the setup/profile and structured-result PRs are settled.

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.

1 participant