From fdeab9f1596942398669446591c0a6d7b3542465 Mon Sep 17 00:00:00 2001 From: iFA Date: Tue, 16 Feb 2021 21:54:48 +0100 Subject: [PATCH] Update _rocksdb.pyx --- rocksdb/_rocksdb.pyx | 6 ++++++ 1 file changed, 6 insertions(+) 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