Skip to content

Troute config tweaks#73

Open
quinnylee wants to merge 2 commits intomainfrom
troute-config-tweaks
Open

Troute config tweaks#73
quinnylee wants to merge 2 commits intomainfrom
troute-config-tweaks

Conversation

@quinnylee
Copy link
Collaborator

@quinnylee quinnylee commented Mar 6, 2026

Closes CIROH-UA/ngen-datastream#50
Changes subnetwork_target_size and adapts cpu_cores to the instance configuration

Additions

  • Checks os.cpu_count() and sets cpu_cores to os.cpu_count() - 2
  • pytest added

Changes

  • subnetwork_target_size changed to 1000

Testing

  1. pytests ran successfully in Ubuntu/x86
  2. Most pytests ran successfully in macOS/arm64 (the new troute cpu count one passed). See test_validation pytests not working as expected on macOS/arm64 #72 for more details on failures

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Visually tested in supported browsers and devices (see checklist below 👇)
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Target Environment support

  • Linux

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.

t-route config

2 participants