build & pm2 start
This commit is contained in:
@@ -8,17 +8,9 @@ const config = {
|
||||
database: process.env.CLICKHOUSE_DATABASE || 'limq'
|
||||
};
|
||||
|
||||
// Log configuration (removing password for security)
|
||||
console.log('ClickHouse config:', {
|
||||
...config,
|
||||
password: config.password ? '****' : ''
|
||||
});
|
||||
|
||||
// Create ClickHouse client with proper URL format
|
||||
export const clickhouse = createClient(config);
|
||||
|
||||
// Log connection status
|
||||
console.log('ClickHouse client created with URL:', config.url);
|
||||
|
||||
/**
|
||||
* Execute ClickHouse query and return results
|
||||
|
||||
Reference in New Issue
Block a user