Skip to content

Commit

Permalink
Fix AccessType assigninment in rocksdb.py (#575)
Browse files Browse the repository at this point in the history
Closes #573.
  • Loading branch information
wbarnha authored Nov 27, 2023
1 parent c629e72 commit ad8dd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faust/stores/rocksdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def open(self, path: Path, *, read_only: bool = False) -> DB:
[rocksdict.DBPath(str(path), self.target_file_size_base)]
)
db_access_type = (
rocksdict.AccessType.ReadWrite
rocksdict.AccessType.read_write()
if self.ttl is None
else rocksdict.AccessType.with_ttl(self.ttl)
)
Expand Down

0 comments on commit ad8dd0e

Please sign in to comment.