Update _rocksdb.pyx

This commit is contained in:
iFA 2021-02-16 21:54:48 +01:00 committed by GitHub
parent 4989f5ccf0
commit fdeab9f159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1412,6 +1412,12 @@ cdef class Options(ColumnFamilyOptions):
def __set__(self, value):
self.opts.WAL_ttl_seconds = value
property ttl:
def __get__(self):
return self.opts.ttl
def __set__(self, value):
self.opts.ttl = value
property wal_size_limit_mb:
def __get__(self):
return self.opts.WAL_size_limit_MB