From 3d4f327b667b0077491aa28040026b05f8eb5584 Mon Sep 17 00:00:00 2001 From: vato007 Date: Sat, 22 Feb 2025 11:01:43 +1030 Subject: [PATCH] Reduce number of test threads to prevent server overload, fix up readme --- .gitea/workflows/test.yaml | 2 +- README.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index ed0a929..4526bc4 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -12,4 +12,4 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 # Limit to one test at a time as the CI infrastructure struggles if trying to start too many containers at once - - run: cargo test --release -- --test-threads=1 + - run: cargo test --release -j6 -- --test-threads=1 diff --git a/README.md b/README.md index ef0d771..cafa368 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # [Ingey](https://git.michaelpivato.dev/vato007/ingey) -A super fast costing and analytics system +A super fast, simple base for building analytics applications. + +## CLI + +A basic CLI is available to run a graph and a subset of analytics workloads. +In development environments, use `cargo run --bin cli -- -h` for more information. ## General Notes -Setting the number of threads in overhead allocation: set RAYON_NUM_THREADS environment variable ([doc](https://github.com/rayon-rs/rayon/blob/master/FAQ.md)). +Setting the number of threads in overhead allocation: set RAYON_NUM_THREADS environment +variable ([doc](https://github.com/rayon-rs/rayon/blob/master/FAQ.md)). Note multithreading is only currently used to calculate allocation percentages.