1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-24 22:32:42 +02:00

fixed comment formatting

This commit is contained in:
Gani Georgiev 2022-12-12 17:22:43 +02:00
parent 54c52f696c
commit 0696a252cc

View File

@ -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)