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 11d88a8 commit cc586d7Copy full SHA for cc586d7
gin/config-upload.md
@@ -216,7 +216,7 @@ func Setup() {
216
}
217
218
ServerSetting.ReadTimeout = ServerSetting.ReadTimeout * time.Second
219
- ServerSetting.WriteTimeout = ServerSetting.ReadTimeout * time.Second
+ ServerSetting.WriteTimeout = ServerSetting.WriteTimeout * time.Second
220
221
err = Cfg.Section("database").MapTo(DatabaseSetting)
222
if err != nil {
0 commit comments