prostgles-server 4.1.92 → 4.1.93
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.
|
@@ -92,7 +92,7 @@ async function initPubSubManager() {
|
|
|
92
92
|
DO $$
|
|
93
93
|
BEGIN
|
|
94
94
|
PERFORM pg_sleep(\${queryTimeoutMillis}/1e3);
|
|
95
|
-
|
|
95
|
+
PERFORM pg_cancel_backend(pid)
|
|
96
96
|
FROM pg_catalog.pg_stat_activity
|
|
97
97
|
WHERE pid <> pg_backend_pid()
|
|
98
98
|
AND query = \${queryIdentifier};
|
|
@@ -101,7 +101,7 @@ export async function initPubSubManager(this: PubSubManager): Promise<PubSubMana
|
|
|
101
101
|
DO $$
|
|
102
102
|
BEGIN
|
|
103
103
|
PERFORM pg_sleep(\${queryTimeoutMillis}/1e3);
|
|
104
|
-
|
|
104
|
+
PERFORM pg_cancel_backend(pid)
|
|
105
105
|
FROM pg_catalog.pg_stat_activity
|
|
106
106
|
WHERE pid <> pg_backend_pid()
|
|
107
107
|
AND query = \${queryIdentifier};
|
package/package.json
CHANGED
package/tests/client/PID.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2614566
|