We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0383f69 commit 5598ca2Copy full SHA for 5598ca2
cmd/main.go
@@ -82,10 +82,10 @@ func main() {
82
BodyLimit: 100 * 1024 * 1024, // 100MB to match nginx configuration
83
// Enable graceful shutdown
84
DisableStartupMessage: true,
85
- IdleTimeout: 5 * time.Second,
86
- ReadTimeout: 10 * time.Second,
87
- WriteTimeout: 10 * time.Second,
88
- ReadBufferSize: 16 * 1024 * 1024, // 16MB header buffer size
+ IdleTimeout: 60 * time.Second,
+ ReadTimeout: 60 * time.Second,
+ WriteTimeout: 60 * time.Second,
+ ReadBufferSize: 24 * 1024 * 1024, // 24MB header buffer size
89
})
90
91
// Global rate limiter - 100 requests per minute with IP + Token based protection
0 commit comments