format
This commit is contained in:
parent
d858222af7
commit
7d9044ab29
202 changed files with 10755 additions and 10972 deletions
|
|
@ -41,12 +41,12 @@ export class QuestDBClient {
|
|||
console.log('DEBUG: QuestDB client constructor called with config:', {
|
||||
...config,
|
||||
user: config.user || '[NOT PROVIDED]',
|
||||
password: config.password ? '[PROVIDED]' : '[NOT PROVIDED]'
|
||||
password: config.password ? '[PROVIDED]' : '[NOT PROVIDED]',
|
||||
});
|
||||
this.logger.debug('QuestDB client created with config:', {
|
||||
...config,
|
||||
user: config.user || '[NOT PROVIDED]',
|
||||
password: config.password ? '[PROVIDED]' : '[NOT PROVIDED]'
|
||||
password: config.password ? '[PROVIDED]' : '[NOT PROVIDED]',
|
||||
});
|
||||
|
||||
this.healthMonitor = new QuestDBHealthMonitor(this);
|
||||
|
|
@ -417,7 +417,6 @@ export class QuestDBClient {
|
|||
return { ...this.config };
|
||||
}
|
||||
|
||||
|
||||
private buildPgPoolConfig(): any {
|
||||
const config: any = {
|
||||
host: this.config.host,
|
||||
|
|
@ -443,7 +442,7 @@ export class QuestDBClient {
|
|||
console.log('DEBUG: No user provided for QuestDB connection');
|
||||
this.logger.debug('No user provided for QuestDB connection');
|
||||
}
|
||||
|
||||
|
||||
if (this.config.password) {
|
||||
console.log('DEBUG: Adding password to QuestDB pool config');
|
||||
this.logger.debug('Adding password to QuestDB pool config');
|
||||
|
|
@ -453,8 +452,14 @@ export class QuestDBClient {
|
|||
this.logger.debug('No password provided for QuestDB connection');
|
||||
}
|
||||
|
||||
console.log('DEBUG: Final QuestDB pool config:', { ...config, password: config.password ? '[REDACTED]' : undefined });
|
||||
this.logger.debug('Final QuestDB pool config:', { ...config, password: config.password ? '[REDACTED]' : undefined });
|
||||
console.log('DEBUG: Final QuestDB pool config:', {
|
||||
...config,
|
||||
password: config.password ? '[REDACTED]' : undefined,
|
||||
});
|
||||
this.logger.debug('Final QuestDB pool config:', {
|
||||
...config,
|
||||
password: config.password ? '[REDACTED]' : undefined,
|
||||
});
|
||||
return config;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
import { getLogger } from '@stock-bot/logger';
|
||||
import type {
|
||||
QueryResult,
|
||||
TableNames,
|
||||
TimeRange,
|
||||
} from './types';
|
||||
import type { QueryResult, TableNames, TimeRange } from './types';
|
||||
|
||||
// Interface to avoid circular dependency
|
||||
interface QuestDBClientInterface {
|
||||
|
|
|
|||
|
|
@ -337,7 +337,6 @@ export class QuestDBSchemaManager {
|
|||
return sql;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Validate schema definition
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue