MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / constructor

Method constructor

daemon/src/service/upload_manager.ts:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 static timeout = 60 * 60 * 1000; // 1 hour
7
8 constructor() {
9 setInterval(
10 async () => {
11 await this.clearExpired();
12 },
13 5 * 60 * 1000 // 5 min
14 );
15 }
16
17 add(file: FileWriter): string {
18 const key = v4();

Callers

nothing calls this directly

Calls 1

clearExpiredMethod · 0.95

Tested by

no test coverage detected