Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make global queue and event polling intervals configurable #4671

Merged
merged 4 commits into from May 18, 2022

Commits on May 17, 2022

  1. Make global queue and event polling intervals configurable

    Adds knobs to the runtime builder to control the number of ticks
    between polling the global task queue (fairness) and the event driver
    (I/O prioritization).
    
    Both varieties of scheduler already supported these intervals, but they
    were defined by private constants. Some workloads benefit from
    customizing these values.
    
    Closes tokio-rs#4651
    aturon committed May 17, 2022
    Copy the full SHA
    968371e View commit details
    Browse the repository at this point in the history
  2. Revisions from reviewing

    * Update tick and interval types from `u8` to `u32`.
    * Expand documentation for the interval knobs to explain why different settings are useful.
    aturon committed May 17, 2022
    Copy the full SHA
    6e9c850 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    819998c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    793a09e View commit details
    Browse the repository at this point in the history