diff --git a/vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go b/vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go index f2461d87b1..44e7d9adce 100644 --- a/vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go +++ b/vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go @@ -41,7 +41,6 @@ var ( DefaultWriteBuffer = 4 * MiB DefaultWriteL0PauseTrigger = 12 DefaultWriteL0SlowdownTrigger = 8 - DefaultSuspendedWriteStatSize = 100 ) // Cacher is a caching algorithm. @@ -358,11 +357,6 @@ type Options struct { // // The default value is 8. WriteL0SlowdownTrigger int - - // SuspendedWriteStatSize defines the upper limit of the cached suspended write operation statistics. - // - // The default value is 100. - SuspendedWriteStatSize int } func (o *Options) GetAltFilters() []filter.Filter { @@ -615,13 +609,6 @@ func (o *Options) GetWriteL0SlowdownTrigger() int { return o.WriteL0SlowdownTrigger } -func (o *Options) GetSuspendedWriteStatSize() int { - if o == nil || o.SuspendedWriteStatSize == 0 { - return DefaultSuspendedWriteStatSize - } - return o.SuspendedWriteStatSize -} - // ReadOptions holds the optional parameters for 'read operation'. The // 'read operation' includes Get, Find and NewIterator. type ReadOptions struct {