fixed comment formatting
This commit is contained in:
		
							parent
							
								
									54c52f696c
								
							
						
					
					
						commit
						0696a252cc
					
				| 
						 | 
					@ -21,8 +21,8 @@ func connectDB(dbPath string) (*dbx.DB, error) {
 | 
				
			||||||
		return nil, err
 | 
							return nil, err
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// use a fixed connection pool to limit the SQLITE_BUSY errors and
 | 
						// use a fixed connection pool to limit the SQLITE_BUSY errors
 | 
				
			||||||
	// reduce the open file descriptors
 | 
						// and reduce the open file descriptors
 | 
				
			||||||
	// (the limits are arbitrary and may change in the future)
 | 
						// (the limits are arbitrary and may change in the future)
 | 
				
			||||||
	db.DB().SetMaxOpenConns(30)
 | 
						db.DB().SetMaxOpenConns(30)
 | 
				
			||||||
	db.DB().SetMaxIdleConns(30)
 | 
						db.DB().SetMaxIdleConns(30)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue