pg-aequor 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -4
  2. package/package.json +17 -1
package/README.md CHANGED
@@ -143,10 +143,6 @@ const client = new AequorClient({
143
143
  onQueryRetry: ({ retries, err }) => {
144
144
  console.warn(`Retry #${retries} due to ${err.code}`)
145
145
  },
146
- onReap: ({ locked, killed, durationMs }) => {
147
- // metrics: how often we reap, and how many zombies we killed
148
- if (locked && killed > 0) console.log(`Reaped ${killed} zombies in ${durationMs}ms`)
149
- },
150
146
  onClientDead: ({ source, meta }) => {
151
147
  // Great place for EMF/X-Ray/etc
152
148
  console.log('Client dead:', source, meta?.sqlstate)
package/package.json CHANGED
@@ -1,7 +1,23 @@
1
1
  {
2
2
  "name": "pg-aequor",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Crash-safe, coordination-aware PostgreSQL client for Serverless environments",
5
+ "keywords": [
6
+ "postgres",
7
+ "postgresql",
8
+ "pg",
9
+ "serverless",
10
+ "aws-lambda",
11
+ "lambda",
12
+ "connection",
13
+ "connections",
14
+ "connection-management",
15
+ "max_connections",
16
+ "reaper",
17
+ "lease",
18
+ "pooling",
19
+ "retry"
20
+ ],
5
21
  "main": "./index.js",
6
22
  "types": "index.d.ts",
7
23
  "author": "dimaq12",