mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 03:33:52 +00:00
fix(test): fail missing kitchen sink rss samples
This commit is contained in:
@@ -588,7 +588,7 @@ async function sampleWindowsProcess(pid, run) {
|
||||
|
||||
export function assertResourceCeiling(sample) {
|
||||
if (!sample) {
|
||||
return;
|
||||
throw new Error("gateway RSS sample was not captured");
|
||||
}
|
||||
if (sample.rssMiB > MAX_RSS_MIB) {
|
||||
throw new Error(`gateway RSS exceeded ${MAX_RSS_MIB} MiB: ${sample.rssMiB} MiB`);
|
||||
|
||||
Reference in New Issue
Block a user