@fedify/mysql 2.3.0-dev.1050 → 2.3.0-dev.1079
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.cjs +1 -1
- package/dist/mq.d.cts +2 -2
- package/dist/mq.d.ts +2 -2
- package/dist/mq.js +1 -1
- package/package.json +8 -8
package/dist/mq.cjs
CHANGED
|
@@ -339,7 +339,7 @@ var MysqlMessageQueue = class {
|
|
|
339
339
|
}
|
|
340
340
|
/**
|
|
341
341
|
* Initializes the message queue table if it does not already exist.
|
|
342
|
-
* Concurrent calls are coalesced
|
|
342
|
+
* Concurrent calls are coalesced—only one initialization runs at a time.
|
|
343
343
|
*
|
|
344
344
|
* @since 2.1.0
|
|
345
345
|
*/
|
package/dist/mq.d.cts
CHANGED
|
@@ -47,7 +47,7 @@ interface MysqlMessageQueueOptions {
|
|
|
47
47
|
* The maximum time to wait for a message handler to complete before
|
|
48
48
|
* the queue moves on. This is a *soft* timeout: when a handler exceeds
|
|
49
49
|
* the limit, the queue stops waiting and logs a timeout error, but it
|
|
50
|
-
* cannot cancel the handler itself
|
|
50
|
+
* cannot cancel the handler itself—the handler's promise continues
|
|
51
51
|
* running in the background. In the ordered-key path the advisory lock
|
|
52
52
|
* is always released in a `finally` block, so a timed-out handler will
|
|
53
53
|
* not permanently block the same ordering key. However, concurrent
|
|
@@ -124,7 +124,7 @@ declare class MysqlMessageQueue implements MessageQueue {
|
|
|
124
124
|
listen(handler: (message: any) => void | Promise<void>, options?: MessageQueueListenOptions): Promise<void>;
|
|
125
125
|
/**
|
|
126
126
|
* Initializes the message queue table if it does not already exist.
|
|
127
|
-
* Concurrent calls are coalesced
|
|
127
|
+
* Concurrent calls are coalesced—only one initialization runs at a time.
|
|
128
128
|
*
|
|
129
129
|
* @since 2.1.0
|
|
130
130
|
*/
|
package/dist/mq.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ interface MysqlMessageQueueOptions {
|
|
|
48
48
|
* The maximum time to wait for a message handler to complete before
|
|
49
49
|
* the queue moves on. This is a *soft* timeout: when a handler exceeds
|
|
50
50
|
* the limit, the queue stops waiting and logs a timeout error, but it
|
|
51
|
-
* cannot cancel the handler itself
|
|
51
|
+
* cannot cancel the handler itself—the handler's promise continues
|
|
52
52
|
* running in the background. In the ordered-key path the advisory lock
|
|
53
53
|
* is always released in a `finally` block, so a timed-out handler will
|
|
54
54
|
* not permanently block the same ordering key. However, concurrent
|
|
@@ -125,7 +125,7 @@ declare class MysqlMessageQueue implements MessageQueue {
|
|
|
125
125
|
listen(handler: (message: any) => void | Promise<void>, options?: MessageQueueListenOptions): Promise<void>;
|
|
126
126
|
/**
|
|
127
127
|
* Initializes the message queue table if it does not already exist.
|
|
128
|
-
* Concurrent calls are coalesced
|
|
128
|
+
* Concurrent calls are coalesced—only one initialization runs at a time.
|
|
129
129
|
*
|
|
130
130
|
* @since 2.1.0
|
|
131
131
|
*/
|
package/dist/mq.js
CHANGED
|
@@ -339,7 +339,7 @@ var MysqlMessageQueue = class {
|
|
|
339
339
|
}
|
|
340
340
|
/**
|
|
341
341
|
* Initializes the message queue table if it does not already exist.
|
|
342
|
-
* Concurrent calls are coalesced
|
|
342
|
+
* Concurrent calls are coalesced—only one initialization runs at a time.
|
|
343
343
|
*
|
|
344
344
|
* @since 2.1.0
|
|
345
345
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/mysql",
|
|
3
|
-
"version": "2.3.0-dev.
|
|
3
|
+
"version": "2.3.0-dev.1079+36ac23d1",
|
|
4
4
|
"description": "MySQL/MariaDB drivers for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -70,18 +70,18 @@
|
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@js-temporal/polyfill": "^0.5.1",
|
|
73
|
-
"@logtape/logtape": "^2.0.
|
|
74
|
-
"es-toolkit": "1.
|
|
73
|
+
"@logtape/logtape": "^2.0.7",
|
|
74
|
+
"es-toolkit": "1.46.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"mysql2": "^3.
|
|
78
|
-
"@fedify/fedify": "^2.3.0-dev.
|
|
77
|
+
"mysql2": "^3.22.3",
|
|
78
|
+
"@fedify/fedify": "^2.3.0-dev.1079+36ac23d1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"tsdown": "^0.
|
|
81
|
+
"tsdown": "^0.22.0",
|
|
82
82
|
"typescript": "^5.9.2",
|
|
83
|
-
"@fedify/
|
|
84
|
-
"@fedify/
|
|
83
|
+
"@fedify/fixture": "^2.0.0",
|
|
84
|
+
"@fedify/testing": "^2.3.0-dev.1079+36ac23d1"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build:self": "tsdown",
|