MCPcopy Create free account
hub / github.com/porsager/postgres / pong

Function pong

cjs/src/subscribe.js:129–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 function pong() {
130 const x = Buffer.alloc(34)
131 x[0] = 'r'.charCodeAt(0)
132 x.fill(state.lsn, 1)
133 x.writeBigInt64BE(BigInt(Date.now() - Date.UTC(2000, 0, 1)) * BigInt(1000), 25)
134 stream.write(x)
135 }
136 }
137
138 function call(x, a, b) {

Callers 1

dataFunction · 0.70

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected