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