Skip to content

Commit

Permalink
# optimize comments
Browse files Browse the repository at this point in the history
  • Loading branch information
OisCircle committed Sep 11, 2024
1 parent 5af6442 commit 5f12d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/apiserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func main() {
server := &http.Server{
Addr: ":8080",
Handler: router,
ReadTimeout: 30 * time.Second, // 设置读取超时时间
WriteTimeout: 30 * time.Second, // 设置写入超时时间
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
}

log.Fatal(server.ListenAndServe())
Expand Down

0 comments on commit 5f12d89

Please sign in to comment.