diff options
| author | Dan Engelbrecht <[email protected]> | 2026-03-30 11:21:50 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-30 11:21:50 +0200 |
| commit | 10613ce78f4a01658ebacdd0ff8ce464b3d13c3f (patch) | |
| tree | fb45b1ff37e8c5582c82c56bfd2540511ce94abe /src/zenutil | |
| parent | reuse single MinIO instance across s3client integration test (#901) (diff) | |
| download | zen-10613ce78f4a01658ebacdd0ff8ce464b3d13c3f.tar.xz zen-10613ce78f4a01658ebacdd0ff8ce464b3d13c3f.zip | |
hub resource limits (#900)
- Feature: Hub dashboard now shows a Resources tile with disk and memory usage against configured limits
- Feature: Hub module listing now shows state-change timestamps and duration for each instance
- Improvement: Hub provisioning rejects new instances when disk or memory usage exceeds configurable thresholds; limits are disabled by default (0 = no limit)
- `--hub-provision-disk-limit-bytes` - Reject provisioning when used disk exceeds this many bytes
- `--hub-provision-disk-limit-percent` - Reject provisioning when used disk exceeds this percentage of total disk
- `--hub-provision-memory-limit-bytes` - Reject provisioning when used memory exceeds this many bytes
- `--hub-provision-memory-limit-percent` - Reject provisioning when used memory exceeds this percentage of total RAM
- Improvement: Hub process metrics are now tracked atomically per active instance slot, eliminating per-query process handle lookups
- Improvement: Hub, Build Store, and Workspaces service stats sections in the dashboard are now collapsible
- Bugfix: Hub watchdog loop did not check `m_ShutdownFlag`, causing it to spin indefinitely on shutdown
Diffstat (limited to 'src/zenutil')
| -rw-r--r-- | src/zenutil/include/zenutil/zenserverprocess.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/zenserverprocess.h b/src/zenutil/include/zenutil/zenserverprocess.h index 03d507400..d6f66fbea 100644 --- a/src/zenutil/include/zenutil/zenserverprocess.h +++ b/src/zenutil/include/zenutil/zenserverprocess.h @@ -66,6 +66,7 @@ public: std::filesystem::path CreateNewTestDir(); std::filesystem::path CreateChildDir(std::string_view ChildName); std::filesystem::path ProgramBaseDir() const { return m_ProgramBaseDir; } + std::filesystem::path GetChildBaseDir() const { return m_ChildProcessBaseDir; } std::filesystem::path GetTestRootDir(std::string_view Path); inline bool IsInitialized() const { return m_IsInitialized; } inline bool IsTestEnvironment() const { return m_IsTestInstance; } |