@514labs/moose-lib 0.6.253-ci-3-gb5916f32 → 0.6.253-ci-10-gd1beed7c
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/browserCompatible.js +1 -11
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +1 -11
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/compilerPlugin.js.map +1 -1
- package/dist/compilerPlugin.mjs.map +1 -1
- package/dist/dmv2/index.js +1 -11
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +1 -11
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +2 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -26
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +3 -42
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +3 -42
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/moose-runner.js
CHANGED
|
@@ -67,17 +67,7 @@ var init_commons = __esm({
|
|
|
67
67
|
username,
|
|
68
68
|
password,
|
|
69
69
|
database,
|
|
70
|
-
application: "moose"
|
|
71
|
-
// Connection pool configuration for high load (100+ concurrent users)
|
|
72
|
-
max_open_connections: 50,
|
|
73
|
-
// Increased from default 10 to handle 100 concurrent users
|
|
74
|
-
request_timeout: 6e4,
|
|
75
|
-
// 60s timeout for HTTP requests (queries and inserts)
|
|
76
|
-
keep_alive: {
|
|
77
|
-
enabled: true,
|
|
78
|
-
idle_socket_ttl: 2e3
|
|
79
|
-
// 2s idle time (lower than default to prevent socket hang-ups)
|
|
80
|
-
}
|
|
70
|
+
application: "moose"
|
|
81
71
|
// Note: wait_end_of_query is configured per operation type, not globally
|
|
82
72
|
// to preserve SELECT query performance while ensuring INSERT/DDL reliability
|
|
83
73
|
});
|
|
@@ -463,21 +453,7 @@ async function getTemporalClient(temporalUrl, namespace, clientCert, clientKey,
|
|
|
463
453
|
);
|
|
464
454
|
let connectionOptions = {
|
|
465
455
|
address: temporalUrl,
|
|
466
|
-
connectTimeout: "
|
|
467
|
-
// Increased from 3s to handle high load
|
|
468
|
-
// Add gRPC keepalive to prevent connection drops
|
|
469
|
-
channelArgs: {
|
|
470
|
-
"grpc.keepalive_time_ms": 3e4,
|
|
471
|
-
// Send keepalive every 30s
|
|
472
|
-
"grpc.keepalive_timeout_ms": 15e3,
|
|
473
|
-
// Wait 15s for keepalive response
|
|
474
|
-
"grpc.keepalive_permit_without_calls": 1,
|
|
475
|
-
// Allow keepalive without active calls
|
|
476
|
-
"grpc.http2.max_pings_without_data": 0,
|
|
477
|
-
// No limit on pings without data
|
|
478
|
-
"grpc.http2.min_time_between_pings_ms": 1e4
|
|
479
|
-
// Min 10s between pings
|
|
480
|
-
}
|
|
456
|
+
connectTimeout: "3s"
|
|
481
457
|
};
|
|
482
458
|
if (clientCert && clientKey) {
|
|
483
459
|
console.log("Using TLS for secure Temporal");
|
|
@@ -2684,22 +2660,7 @@ async function createTemporalConnection(logger2, temporalConfig) {
|
|
|
2684
2660
|
`<workflow> Using temporal_url: ${temporalConfig.url} and namespace: ${temporalConfig.namespace}`
|
|
2685
2661
|
);
|
|
2686
2662
|
let connectionOptions = {
|
|
2687
|
-
address: temporalConfig.url
|
|
2688
|
-
connectTimeout: 3e4,
|
|
2689
|
-
// 30s connection timeout
|
|
2690
|
-
// Add gRPC keepalive for worker stability
|
|
2691
|
-
channelArgs: {
|
|
2692
|
-
"grpc.keepalive_time_ms": 3e4,
|
|
2693
|
-
// Send keepalive every 30s
|
|
2694
|
-
"grpc.keepalive_timeout_ms": 15e3,
|
|
2695
|
-
// Wait 15s for keepalive response
|
|
2696
|
-
"grpc.keepalive_permit_without_calls": 1,
|
|
2697
|
-
// Allow keepalive without active calls
|
|
2698
|
-
"grpc.http2.max_pings_without_data": 0,
|
|
2699
|
-
// No limit on pings without data
|
|
2700
|
-
"grpc.http2.min_time_between_pings_ms": 1e4
|
|
2701
|
-
// Min 10s between pings
|
|
2702
|
-
}
|
|
2663
|
+
address: temporalConfig.url
|
|
2703
2664
|
};
|
|
2704
2665
|
if (temporalConfig.clientCert && temporalConfig.clientKey) {
|
|
2705
2666
|
logger2.info("Using TLS for secure Temporal");
|