MCPcopy Create free account
hub / github.com/effect-app/libs / lockDocId

Function lockDocId

packages/infra/src/ClusterCosmos.ts:118–118  ·  view source on GitHub ↗
(shardId: string)

Source from the content-addressed store, hash-verified

116const replyPartition = (requestId: string) => `reply::${requestId}`
117const runnerDocId = (address: string) => cosmosId(`runner::${address}`)
118const lockDocId = (shardId: string) => cosmosId(`lock::${shardId}`)
119const tenMinutes = Duration.toMillis(Duration.minutes(10))
120const maxCosmosBatchOperations = 100
121const isSuccessfulStatus = (statusCode: number | undefined): boolean =>

Callers 2

readLockFunction · 0.85
createLockFunction · 0.85

Calls 1

cosmosIdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…