mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
feat: rename historic sql setup threshold
This commit is contained in:
parent
d47826a234
commit
c91331b57a
6 changed files with 21 additions and 14 deletions
|
|
@ -34,6 +34,7 @@ export interface KtxSetupDatabasesArgs {
|
|||
enableHistoricSql?: boolean;
|
||||
disableHistoricSql?: boolean;
|
||||
historicSqlWindowDays?: number;
|
||||
historicSqlMinExecutions?: number;
|
||||
historicSqlMinCalls?: number;
|
||||
historicSqlServiceAccountPatterns?: string[];
|
||||
historicSqlRedactionPatterns?: string[];
|
||||
|
|
@ -676,8 +677,7 @@ async function maybeApplyHistoricSqlConfig(input: {
|
|||
...input.connection,
|
||||
historicSql: {
|
||||
...common,
|
||||
minCalls: input.args.historicSqlMinCalls ?? 5,
|
||||
maxTemplatesPerRun: 5000,
|
||||
minExecutions: input.args.historicSqlMinExecutions ?? input.args.historicSqlMinCalls ?? 5,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue