@514labs/moose-lib 0.6.259 → 0.6.260-ci-5-g3b5261dd

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.
@@ -124,7 +124,17 @@ var init_commons = __esm({
124
124
  username,
125
125
  password,
126
126
  database,
127
- application: "moose"
127
+ application: "moose",
128
+ // Connection pool configuration for high load (100+ concurrent users)
129
+ max_open_connections: 50,
130
+ // Increased from default 10 to handle 100 concurrent users
131
+ request_timeout: 6e4,
132
+ // 60s timeout for HTTP requests (queries and inserts)
133
+ keep_alive: {
134
+ enabled: true,
135
+ idle_socket_ttl: 2e3
136
+ // 2s idle time (lower than default to prevent socket hang-ups)
137
+ }
128
138
  // Note: wait_end_of_query is configured per operation type, not globally
129
139
  // to preserve SELECT query performance while ensuring INSERT/DDL reliability
130
140
  });