MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

src/utils.ts:890–896  ·  view source on GitHub ↗
(
    thresholdMB: number = 500,
    onThresholdExceeded?: (usage: number) => void
  )

Source from the content-addressed store, hash-verified

888 private onThresholdExceeded?: (usage: number) => void;
889
890 constructor(
891 thresholdMB: number = 500,
892 onThresholdExceeded?: (usage: number) => void
893 ) {
894 this.threshold = thresholdMB * 1024 * 1024;
895 this.onThresholdExceeded = onThresholdExceeded;
896 }
897
898 /**
899 * Start monitoring memory usage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected