feat(base): add BASE_QUERY_CACHE_TRACE flag for duckdb operation logging

This commit is contained in:
Philipinho
2026-04-23 13:37:25 +01:00
parent b2ed8f9936
commit 2d9e060d9e
6 changed files with 110 additions and 7 deletions
@@ -344,6 +344,14 @@ export class EnvironmentService {
);
}
getBaseQueryCacheTrace(): boolean {
return (
this.configService
.get<string>('BASE_QUERY_CACHE_TRACE', 'false')
.toLowerCase() === 'true'
);
}
getBaseQueryCacheMemoryLimit(): string {
// Per-DuckDB-instance memory ceiling. DuckDB accepts human-readable sizes:
// '32MB', '128MB', '1GB'. Default keeps a single instance from