create-mercato-app 0.6.6-develop.5505.1.f08e81a6fe → 0.6.6-develop.5523.1.e223ca1915

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mercato-app",
3
- "version": "0.6.6-develop.5505.1.f08e81a6fe",
3
+ "version": "0.6.6-develop.5523.1.e223ca1915",
4
4
  "type": "module",
5
5
  "description": "Create a new Open Mercato application",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^25.9.2",
25
- "esbuild": "^0.28.0",
25
+ "esbuild": "^0.28.1",
26
26
  "tsx": "^4.22.4",
27
27
  "typescript": "^6.0.3"
28
28
  },
@@ -194,6 +194,16 @@ CACHE_STRATEGY=sqlite
194
194
  # Default TTL in milliseconds (optional)
195
195
  CACHE_TTL=300000
196
196
 
197
+ # Max entries retained by the in-memory cache strategy before LRU eviction
198
+ # (default: 50000). Bounds memory for the process-wide cache singleton. A
199
+ # non-positive value disables the cap (unbounded — not recommended).
200
+ #CACHE_MEMORY_MAX_ENTRIES=50000
201
+
202
+ # The cache service is shared process-wide (a singleton) so cross-request
203
+ # caches actually hit. Set to off/false to fall back to a per-request cache
204
+ # instance (legacy behavior). Default: on.
205
+ #OM_CACHE_SINGLETON=on
206
+
197
207
  # Redis Configuration
198
208
  #REDIS_PORT=6379
199
209
 
@@ -212,6 +222,13 @@ DB_POOL_MIN=5
212
222
  DB_POOL_MAX=20
213
223
  DB_POOL_IDLE_TIMEOUT=30000
214
224
  DB_POOL_ACQUIRE_TIMEOUT=60000
225
+ # Connection-pinning guards (milliseconds). idle_in_transaction defaults to 120000 in every
226
+ # environment so a leaked open transaction cannot pin a pool connection forever; set to 0 to disable.
227
+ #DB_IDLE_IN_TRANSACTION_TIMEOUT_MS=120000
228
+ # Opt-in server-side timeouts. Unset = no timeout (legacy behavior). Set to cap runaway
229
+ # queries / lock waits so they cannot exhaust the pool. Recommended in production.
230
+ #DB_STATEMENT_TIMEOUT_MS=30000
231
+ #DB_LOCK_TIMEOUT_MS=10000
215
232
 
216
233
  # Audit log retention windows
217
234
  # Core resources (users, roles) keep access history longer to support investigations.