Skip to content

Commit

Permalink
feat: default UpdateInterval value increased to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
kutovoys committed Sep 10, 2024
1 parent 3479c35 commit f16accb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type CLI struct {
ProtectedMetrics bool `name:"metrics-protected" help:"Whether metrics are protected by basic auth" default:"false" env:"METRICS_PROTECTED"`
MetricsUsername string `name:"metrics-username" help:"Username for metrics if protected by basic auth" default:"metricsUser" env:"METRICS_USERNAME"`
MetricsPassword string `name:"metrics-password" help:"Password for metrics if protected by basic auth" default:"MetricsVeryHardPassword" env:"METRICS_PASSWORD"`
UpdateInterval int `name:"update-interval" help:"Interval for metrics update in seconds" default:"30" env:"UPDATE_INTERVAL"`
UpdateInterval int `name:"update-interval" help:"Interval for metrics update in seconds" default:"60" env:"UPDATE_INTERVAL"`
TimeZone string `name:"timezone" help:"Timezone used in the application" default:"UTC" env:"TIMEZONE"`
InactivityTime int `name:"inactivity-time" help:"Time in minutes after which a user is considered inactive" default:"2" env:"INACTIVITY_TIME"`
BaseURL string `name:"marzban-base-url" help:"Marzban panel base URL" env:"MARZBAN_BASE_URL"`
Expand Down

0 comments on commit f16accb

Please sign in to comment.