consumer-pgmq 2.0.0 → 2.0.1

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 +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -92,7 +92,8 @@ async function start() {
92
92
  visibilityTime: 15,
93
93
  consumeType: "read",
94
94
  poolSize: 4,
95
- timeMsWaitBeforeNextPolling: 1000
95
+ timeMsWaitBeforeNextPolling: 1000,
96
+ enabledPolling: false
96
97
  },
97
98
  async function (message: { [key: string]: any }, signal): Promise<void> {
98
99
  try {
@@ -167,7 +168,8 @@ async function start() {
167
168
  visibilityTime: 15,
168
169
  consumeType: "read",
169
170
  poolSize: 4,
170
- timeMsWaitBeforeNextPolling: 1000
171
+ timeMsWaitBeforeNextPolling: 1000,
172
+ enabledPolling: false
171
173
  },
172
174
  async function (message: { [key: string]: any }, signal): Promise<void> {
173
175
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consumer-pgmq",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "The consumer of Supabase pgmq",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",