Skip to content

Commit

Permalink
Fix settingKey
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Apr 5, 2024
1 parent bee7fde commit f7acf9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Args} from '@oclif/core'
import heredoc from 'tsheredoc'
import {PGSettingsCommand, type Setting} from '../../../../lib/pg/setter'
import {PGSettingsCommand, type Setting, type SettingKey} from '../../../../lib/pg/setter'

export default class LogMinDuration extends PGSettingsCommand {
static topic = 'pg'
Expand All @@ -14,7 +14,7 @@ export default class LogMinDuration extends PGSettingsCommand {
value: Args.integer(),
}

protected settingsName = 'auto_explain.log_min_duration'
protected settingKey:SettingKey = 'auto_explain.log_min_duration'

protected convertValue(val: number): number {
return val
Expand Down

0 comments on commit f7acf9d

Please sign in to comment.