@fedify/postgres 2.4.5-dev.2453 → 2.4.5-dev.2462

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.
package/dist/mq.d.cts CHANGED
@@ -35,9 +35,14 @@ interface PostgresMessageQueueOptions {
35
35
  readonly pollInterval?: Temporal.Duration | Temporal.DurationLike;
36
36
  /**
37
37
  * The maximum time to wait for a message handler to complete before
38
- * considering it hung. When a handler exceeds this timeout, it is
39
- * treated as an error and the poll loop moves on to the next message,
40
- * preventing a single hung handler from permanently blocking the queue.
38
+ * the queue moves on. This is a soft timeout: the queue logs a timeout
39
+ * error and stops waiting, but cannot cancel the handler. The handler
40
+ * continues running and may still produce side effects.
41
+ *
42
+ * The ordered-key path releases its advisory lock and reserved connection
43
+ * through its cleanup path. This does not release connections or
44
+ * transactions held by application code. A subsequent handler for the
45
+ * same key may run while the timed-out handler is still active.
41
46
  *
42
47
  * Set to zero to disable the timeout (not recommended in production).
43
48
  *
package/dist/mq.d.ts CHANGED
@@ -35,9 +35,14 @@ interface PostgresMessageQueueOptions {
35
35
  readonly pollInterval?: Temporal.Duration | Temporal.DurationLike;
36
36
  /**
37
37
  * The maximum time to wait for a message handler to complete before
38
- * considering it hung. When a handler exceeds this timeout, it is
39
- * treated as an error and the poll loop moves on to the next message,
40
- * preventing a single hung handler from permanently blocking the queue.
38
+ * the queue moves on. This is a soft timeout: the queue logs a timeout
39
+ * error and stops waiting, but cannot cancel the handler. The handler
40
+ * continues running and may still produce side effects.
41
+ *
42
+ * The ordered-key path releases its advisory lock and reserved connection
43
+ * through its cleanup path. This does not release connections or
44
+ * transactions held by application code. A subsequent handler for the
45
+ * same key may run while the timed-out handler is still active.
41
46
  *
42
47
  * Set to zero to disable the timeout (not recommended in production).
43
48
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/postgres",
3
- "version": "2.4.5-dev.2453+1304e862",
3
+ "version": "2.4.5-dev.2462+46a3f2c5",
4
4
  "description": "PostgreSQL drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -71,15 +71,15 @@
71
71
  },
72
72
  "peerDependencies": {
73
73
  "postgres": "^3.4.7",
74
- "@fedify/fedify": "^2.4.5-dev.2453+1304e862"
74
+ "@fedify/fedify": "^2.4.5-dev.2462+46a3f2c5"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@js-temporal/polyfill": "^0.5.1",
78
78
  "@std/async": "npm:@jsr/std__async@^1.0.13",
79
79
  "tsdown": "^0.22.0",
80
80
  "typescript": "^6.0.0",
81
- "@fedify/testing": "^2.4.5-dev.2453+1304e862",
82
- "@fedify/fixture": "^2.0.0"
81
+ "@fedify/fixture": "^2.0.0",
82
+ "@fedify/testing": "^2.4.5-dev.2462+46a3f2c5"
83
83
  },
84
84
  "scripts": {
85
85
  "build:self": "tsdown",