fixed lint in di
This commit is contained in:
parent
26ebc77fe6
commit
3ac274705e
4 changed files with 21 additions and 65 deletions
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue