mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 14:54:05 +08:00
feat(base): env var for duckdb reader-pool size
This commit is contained in:
@@ -10,6 +10,7 @@ export type QueryCacheConfig = {
|
||||
threads: number;
|
||||
trace: boolean;
|
||||
tempDirectory: string;
|
||||
readerPoolSize: number;
|
||||
};
|
||||
|
||||
@Injectable()
|
||||
@@ -25,6 +26,7 @@ export class QueryCacheConfigProvider {
|
||||
threads: env.getBaseQueryCacheThreads(),
|
||||
trace: env.getBaseQueryCacheTrace(),
|
||||
tempDirectory: env.getBaseQueryCacheTempDirectory(),
|
||||
readerPoolSize: env.getBaseQueryCacheReaderPoolSize(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user