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

Method constructor

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

Source from the content-addressed store, hash-verified

864 private onThresholdExceeded?: (usage: number) => void;
865
866 constructor(
867 thresholdMB: number = 500,
868 onThresholdExceeded?: (usage: number) => void
869 ) {
870 this.threshold = thresholdMB * 1024 * 1024;
871 this.onThresholdExceeded = onThresholdExceeded;
872 }
873
874 /**
875 * Start monitoring memory usage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected