diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx index 15dabcb..27d298b 100644 --- a/rocksdb/_rocksdb.pyx +++ b/rocksdb/_rocksdb.pyx @@ -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