@514labs/moose-lib 0.6.253-ci-5-gc3e56d08 → 0.6.253-ci-3-gb5916f32

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.
@@ -94,7 +94,17 @@ var init_commons = __esm({
94
94
  username,
95
95
  password,
96
96
  database,
97
- application: "moose"
97
+ application: "moose",
98
+ // Connection pool configuration for high load (100+ concurrent users)
99
+ max_open_connections: 50,
100
+ // Increased from default 10 to handle 100 concurrent users
101
+ request_timeout: 6e4,
102
+ // 60s timeout for HTTP requests (queries and inserts)
103
+ keep_alive: {
104
+ enabled: true,
105
+ idle_socket_ttl: 2e3
106
+ // 2s idle time (lower than default to prevent socket hang-ups)
107
+ }
98
108
  // Note: wait_end_of_query is configured per operation type, not globally
99
109
  // to preserve SELECT query performance while ensuring INSERT/DDL reliability
100
110
  });