Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 2852d5f

Browse files
committed
Increase timeouts to 5 minutes
1 parent 17a8c23 commit 2852d5f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111
- Increased timeout for Read by [@lflare].
12+
- Increase timeouts to 5 minutes by [@lflare].
1213

1314
### Deprecated
1415

internal/mdathome/tls.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ func listenAndServeTLSKeyPair(addr string, allowHTTP2 bool, cert tls.Certificate
7474
server := &http.Server{
7575
Addr: addr,
7676
Handler: handler,
77-
ReadTimeout: 1 * time.Minute,
78-
WriteTimeout: 1 * time.Minute,
77+
ReadTimeout: 5 * time.Minute,
78+
WriteTimeout: 5 * time.Minute,
7979
}
8080
config := &tls.Config{
8181
PreferServerCipherSuites: true,

0 commit comments

Comments
 (0)