MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / execWithTimeout

Function execWithTimeout

frontend/src/app/api/runProject/route.ts:285–318  ·  view source on GitHub ↗

* Execute Docker command with timeout and retry logic

(
  command: string,
  options: { timeout: number; retries?: number } = {
    timeout: 60000,
    retries: 2,
  }
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ensureBaseImageExistsFunction · 0.85
runDockerContainerFunction · 0.85

Calls 1

executeWithRetryFunction · 0.85

Tested by

no test coverage detected