Skip to content

Commit

Permalink
Do not hard-code zero values into pebble config
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Oct 3, 2024
1 parent 6d73337 commit a748fe3
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,8 @@ func pebbleSpec() map[string]interface{} {
"type": "measure",
"prefix": "pebble.datastore",
"child": map[string]interface{}{
"type": "pebbleds",
"path": "pebbleds",
"bytesPerSync": 0,
"disableWAL": false,
"cacheSize": 0,
"l0CompactionThreshold": 0,
"l0StopWritesThreshold": 0,
"lBaseMaxBytes": 0,
"maxConcurrentCompactions": 0,
"memTableSize": 0,
"memTableStopWritesThreshold": 0,
"walBytesPerSync": 0,
"walMinSyncSeconds": 0,
"type": "pebbleds",
"path": "pebbleds",
},
}
}
Expand Down

0 comments on commit a748fe3

Please sign in to comment.