Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit dd2a346

Browse files
committed
そろそろ20Connいってもいいだろう
1 parent 30354bc commit dd2a346

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎webapp/go/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func connectDB(logger echo.Logger) (*sqlx.DB, error) {
9797
if err != nil {
9898
return nil, err
9999
}
100-
db.SetMaxOpenConns(10)
100+
db.SetMaxOpenConns(20)
101101

102102
if err := db.Ping(); err != nil {
103103
return nil, err

‎webapp/go/user_handler.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ func getIconHandler(c echo.Context) error {
9797

9898
ifNoneMatchValue := c.Request().Header.Get("If-None-Match")
9999
ifNoneMatchValue = strings.Trim(ifNoneMatchValue, "\"")
100-
log.Println("If-None-Match: ", ifNoneMatchValue)
101100

102101
tx, err := dbConn.BeginTxx(ctx, nil)
103102
if err != nil {

0 commit comments

Comments
 (0)