Skip to content

Commit

Permalink
Unfix max open files
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Apr 4, 2019
1 parent 9042614 commit e843593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/rocks/rocksdb_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func NewRocksDBStoreOpts(opts *Options) (*RocksDBStore, error) {
globalOpts := rocksdb.NewDefaultOptions()
globalOpts.SetCreateIfMissing(true)
globalOpts.SetCreateIfMissingColumnFamilies(true)
globalOpts.SetMaxOpenFiles(100)
//globalOpts.SetMaxOpenFiles(1000)
globalOpts.SetEnv(env)
// We build a LRU cache with a high pool ratio of 0.4 (40%). The lower pool
// will cache data blocks and the higher will cache index and filters.
Expand Down

0 comments on commit e843593

Please sign in to comment.