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

Batch reading content files to prevent too many open files error #12079

Merged
merged 5 commits into from
Sep 25, 2023

Commits on Sep 25, 2023

  1. Refactor

    thecrypticace committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f88075a View commit details
    Browse the repository at this point in the history
  2. Refactor

    thecrypticace committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    25de606 View commit details
    Browse the repository at this point in the history
  3. Batch content file reads in Node into groups of 500

    We shouldn’t need to do this for our Rust code because it utilizes Rayon’s default thread pool for parallelism. This threadpool has roughly the number of cores as the number of available threads except when overridden. This generally is much, much lower than 500 and can be explicitly overridden via an env var to work around potential issues with open file descriptors if anyone ever runs into that.
    thecrypticace committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    ae2f9ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c847229 View commit details
    Browse the repository at this point in the history
  5. Update changelog

    thecrypticace committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c3ab1fc View commit details
    Browse the repository at this point in the history