@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/index.js CHANGED
@@ -116,17 +116,7 @@ var init_commons = __esm({
116
116
  username,
117
117
  password,
118
118
  database,
119
- application: "moose",
120
- // Connection pool configuration for high load (100+ concurrent users)
121
- max_open_connections: 50,
122
- // Increased from default 10 to handle 100 concurrent users
123
- request_timeout: 6e4,
124
- // 60s timeout for HTTP requests (queries and inserts)
125
- keep_alive: {
126
- enabled: true,
127
- idle_socket_ttl: 2e3
128
- // 2s idle time (lower than default to prevent socket hang-ups)
129
- }
119
+ application: "moose"
130
120
  // Note: wait_end_of_query is configured per operation type, not globally
131
121
  // to preserve SELECT query performance while ensuring INSERT/DDL reliability
132
122
  });
@@ -2932,21 +2922,7 @@ async function getTemporalClient(temporalUrl, namespace, clientCert, clientKey,
2932
2922
  );
2933
2923
  let connectionOptions = {
2934
2924
  address: temporalUrl,
2935
- connectTimeout: "30s",
2936
- // Increased from 3s to handle high load
2937
- // Add gRPC keepalive to prevent connection drops
2938
- channelArgs: {
2939
- "grpc.keepalive_time_ms": 3e4,
2940
- // Send keepalive every 30s
2941
- "grpc.keepalive_timeout_ms": 15e3,
2942
- // Wait 15s for keepalive response
2943
- "grpc.keepalive_permit_without_calls": 1,
2944
- // Allow keepalive without active calls
2945
- "grpc.http2.max_pings_without_data": 0,
2946
- // No limit on pings without data
2947
- "grpc.http2.min_time_between_pings_ms": 1e4
2948
- // Min 10s between pings
2949
- }
2925
+ connectTimeout: "3s"
2950
2926
  };
2951
2927
  if (clientCert && clientKey) {
2952
2928
  console.log("Using TLS for secure Temporal");