Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const (
maxUploadLimit = 1 << 24 // 16 MiB

maxReadHeaderTimeout = 5 * time.Second
maxReadTimeout = 10 * time.Second
// maxWriteTimeout must exceed cfg.RequestTimeout so the request context
// cancels before the server's write deadline kills the connection.
maxWriteTimeout = 75 * time.Second
Expand Down Expand Up @@ -251,7 +250,6 @@ func NewGinServer(ctx context.Context, config cfg.Config, tel *telemetry.Client,

// Configure request timeouts.
ReadHeaderTimeout: maxReadHeaderTimeout,
ReadTimeout: maxReadTimeout,
WriteTimeout: maxWriteTimeout,

// Configure timeouts to be greater than the proxy timeouts.
Expand Down