Skip to content

Commit

Permalink
fixed comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Dec 12, 2022
1 parent 54c52f6 commit 0696a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/db_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func connectDB(dbPath string) (*dbx.DB, error) {
return nil, err
}

// use a fixed connection pool to limit the SQLITE_BUSY errors and
// reduce the open file descriptors
// use a fixed connection pool to limit the SQLITE_BUSY errors
// and reduce the open file descriptors
// (the limits are arbitrary and may change in the future)
db.DB().SetMaxOpenConns(30)
db.DB().SetMaxIdleConns(30)
Expand Down

0 comments on commit 0696a25

Please sign in to comment.