@effectstream/utils 0.100.19 → 0.100.22
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 +1 -1
- package/src/config.ts +10 -0
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -239,6 +239,13 @@ const definitions: Record<string, ConfigDefinition> = {
|
|
|
239
239
|
defaultValue: undefined,
|
|
240
240
|
description: "Enable PGLite Debug/Verbose mode. Example: '1'",
|
|
241
241
|
},
|
|
242
|
+
ALLOW_NO_PG_IVM: {
|
|
243
|
+
key: "ALLOW_NO_PG_IVM",
|
|
244
|
+
type: "boolean",
|
|
245
|
+
defaultValue: false,
|
|
246
|
+
description:
|
|
247
|
+
"Permits the engine to start when the pg_ivm extension is not installed, falling back to plain SQL views over the trigger-maintained intermediate tables. Intended for dev/test and low-volume apps only — the fallback degrades sharply on high-cardinality data. Production deployments should install pg_ivm. ('true' or 'false')",
|
|
248
|
+
},
|
|
242
249
|
OTEL_COLLECTOR_PORT: {
|
|
243
250
|
key: "OTEL_COLLECTOR_PORT",
|
|
244
251
|
type: "number",
|
|
@@ -405,6 +412,9 @@ export class ENV {
|
|
|
405
412
|
static get DEBUG_PGLITE(): number {
|
|
406
413
|
return ENV.getConfig(definitions.DEBUG_PGLITE);
|
|
407
414
|
}
|
|
415
|
+
static get ALLOW_NO_PG_IVM(): boolean {
|
|
416
|
+
return ENV.getConfig(definitions.ALLOW_NO_PG_IVM);
|
|
417
|
+
}
|
|
408
418
|
static get OTEL_COLLECTOR_PORT(): number {
|
|
409
419
|
return ENV.getConfig(definitions.OTEL_COLLECTOR_PORT);
|
|
410
420
|
}
|