MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / fromProps

Method fromProps

lib/compilation-queue.ts:68–74  ·  view source on GitHub ↗
(ceProps: PropertyGetter)

Source from the content-addressed store, hash-verified

66 }
67
68 static fromProps(ceProps: PropertyGetter) {
69 return new CompilationQueue(
70 ceProps('maxConcurrentCompiles', 1),
71 ceProps('compilationEnvTimeoutMs', 300_000),
72 ceProps('compilationStaleAfterMs', 60_000),
73 );
74 }
75
76 enqueue<Result>(job: Job<Result>, options?: EnqueueOptions): PromiseLike<Result> {
77 const enqueueAsyncId = executionAsyncId();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected