Skip to content

Commit cc586d7

Browse files
authored
fix type error
1 parent 11d88a8 commit cc586d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gin/config-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func Setup() {
216216
}
217217
218218
ServerSetting.ReadTimeout = ServerSetting.ReadTimeout * time.Second
219-
ServerSetting.WriteTimeout = ServerSetting.ReadTimeout * time.Second
219+
ServerSetting.WriteTimeout = ServerSetting.WriteTimeout * time.Second
220220
221221
err = Cfg.Section("database").MapTo(DatabaseSetting)
222222
if err != nil {

0 commit comments

Comments
 (0)