Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu committed Feb 27, 2025
1 parent 65dfde1 commit e276306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logservice/eventstore/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func newPebbleOptions(dbNum int) *pebble.Options {
func createPebbleDBs(rootDir string, dbNum int) []*pebble.DB {
cache := pebble.NewCache(cacheSize)
tableCache := pebble.NewTableCache(cache, dbNum, int(cache.MaxSize()))
defer tableCache.Unref()
dbs := make([]*pebble.DB, dbNum)
for i := 0; i < dbNum; i++ {
opts := newPebbleOptions(dbNum)
Expand Down

0 comments on commit e276306

Please sign in to comment.