change write opt
This commit is contained in:
parent
b640a0330d
commit
9d6e8b3fa7
|
@ -362,7 +362,7 @@ int streamInitBackend(SStreamState* pState, char* path) {
|
|||
// create the DB if it's not already present
|
||||
rocksdb_options_set_create_if_missing(opts, 1);
|
||||
rocksdb_options_set_create_missing_column_families(opts, 1);
|
||||
rocksdb_options_set_write_buffer_size(opts, 16 << 20);
|
||||
rocksdb_options_set_write_buffer_size(opts, 128 << 20);
|
||||
|
||||
char* err = NULL;
|
||||
int cfLen = sizeof(ginitDict) / sizeof(ginitDict[0]);
|
||||
|
|
Loading…
Reference in New Issue