Skip to content

Commit

Permalink
Extended default proxy request timeout to 10m
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Jan 31, 2024
1 parent 94978e2 commit 83c5e7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.8.1 - 2024-01-31
### Fixed
- Extended default proxy request timeout to 10m

## 1.8.0 - 2024-01-26
### Added
- Added key authentication for admin endpoints
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Config struct {
OpenAiKey string `env:"OPENAI_API_KEY"`
StatsProvider string `env:"STATS_PROVIDER"`
AdminPass string `env:"ADMIN_PASS"`
ProxyTimeout time.Duration `env:"PROXY_TIMEOUT" envDefault:"180s"`
ProxyTimeout time.Duration `env:"PROXY_TIMEOUT" envDefault:"600s"`
}

func ParseEnvVariables() (*Config, error) {
Expand Down

0 comments on commit 83c5e7a

Please sign in to comment.