mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fix: removed unused env variable for aggregate (#10237)
This commit is contained in:
parent
2dec9a106d
commit
4c778d4e71
1 changed files with 1 additions and 3 deletions
|
|
@ -35,9 +35,7 @@ export class TooljetDbModule implements OnModuleInit {
|
|||
const hasTooljetDbReconfig = this.configService.get('TOOLJET_DB_RECONFIG') === 'true';
|
||||
this.logger.log(`Tooljet Database reconfig: ${hasTooljetDbReconfig}`);
|
||||
|
||||
const shouldRunPreConfigFunction = this.configService.get('PGRST_DB_PRE_CONFIG') === 'postgrest.pre_config';
|
||||
|
||||
if (hasTooljetDbReconfig && shouldRunPreConfigFunction) {
|
||||
if (hasTooljetDbReconfig) {
|
||||
const tooljtDbUser = this.configService.get('TOOLJET_DB_USER');
|
||||
const statementTimeout = this.configService.get('TOOLJET_DB_STATEMENT_TIMEOUT') || 60000;
|
||||
const statementTimeoutInSecs = Number.isNaN(Number(statementTimeout)) ? 60 : Number(statementTimeout) / 1000;
|
||||
|
|
|
|||
Loading…
Reference in a new issue