fixed lint in di

This commit is contained in:
Boki 2025-06-22 21:52:21 -04:00
parent 26ebc77fe6
commit 3ac274705e
4 changed files with 21 additions and 65 deletions

View file

@ -94,9 +94,16 @@ export class ServiceContainerBuilder {
user: config.postgres?.user || '',
password: config.postgres?.password || '',
},
questdb: this.options.enableQuestDB ? config.questdb : undefined,
questdb: this.options.enableQuestDB ? (config.questdb || {
enabled: true,
host: 'localhost',
httpPort: 9000,
pgPort: 8812,
influxPort: 9009,
database: 'questdb',
}) : undefined,
proxy: this.options.enableProxy ? (config.proxy || { cachePrefix: 'proxy:', ttl: 3600 }) : undefined,
browser: this.options.enableBrowser ? config.browser : undefined,
browser: this.options.enableBrowser ? (config.browser || { headless: true, timeout: 30000 }) : undefined,
queue: this.options.enableQueue ? { enabled: this.options.enableQueue } : undefined,
};
}