Skip to content

Commit cd6494c

Browse files
committed
feat: implement noop _pulseQueue and _remove
1 parent 63b2dc9 commit cd6494c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Supported features:
4747
Known incompatibilities:
4848

4949
* `connection.processID` not implemented
50+
* `pool._pulseQueue` not implemented
51+
* `pool._remove` not implemented
5052

5153
Please submit PR if you require additional compatibility.
5254

src/bridge.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ export const createBridge = (postgres: typeof Postgres) => {
123123
return compatibleConnection;
124124
}
125125

126+
public _pulseQueue () {
127+
// TODO implement logic equivalent to https://github.com/brianc/node-postgres/blob/master/packages/pg-pool/index.js#L109-L152
128+
}
129+
130+
public _remove () {
131+
// TODO implement logic equivalent to https://github.com/brianc/node-postgres/blob/master/packages/pg-pool/index.js#L154-L164
132+
}
133+
126134
public get idleCount () {
127135
return this.pool.available;
128136
}

0 commit comments

Comments
 (0)