Skip to content

Commit

Permalink
Merge pull request #81 from DrOctavius/main
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
DrOctavius authored Aug 5, 2024
2 parents c2356ef + 3f5ccec commit 640a2e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
.idea
.vscode
.history
4 changes: 2 additions & 2 deletions core/config/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ type Model struct {
// How many seconds should wait until the app gracefully shuts down all the services before os.exit(0)
OnShutdownWaitSeconds int `yaml:"on_shutdown_wait_seconds" mapstructure:"on_shutdown_wait_seconds" default:"2"`
// This is the default timezone... wherever it runs, when the app starts, it will override the timezone with this value
TimeZone string `yaml:"time_zone" mapstructure:"time_zone" default:"UTC"`
TimeZone string `yaml:"time_zone" mapstructure:"time_zone" default:"UTC" env:"APP_TIME_ZONE"`
// This param disables the override function on bootstrap only if necessary!
DisableTimezoneOverride string `yaml:"disable_timezone_override" mapstructure:"disable_timezone_override" default:"no"`
DisableTimezoneOverride string `yaml:"disable_timezone_override" mapstructure:"disable_timezone_override" default:"no" env:"APP_DISABLE_TIME_ZONE_OVERRIDE"`
}

/* type MinIO struct {
Expand Down

0 comments on commit 640a2e0

Please sign in to comment.