mirror of
https://github.com/typesense/typesense.git
synced 2025-05-18 04:32:38 +08:00
Snappy compression is enabled by default but setting it explicitly nevertheless.
This commit is contained in:
parent
46983ba6b4
commit
3cdeff7814
2
TODO.md
2
TODO.md
@ -96,7 +96,7 @@
|
||||
- ~~gzip compress responses~~
|
||||
- ~~Have a LOG(ERROR) level~~
|
||||
- ~~Handle SIGTERM which is sent when process is killed~~
|
||||
- Use snappy compression for storage
|
||||
- ~~Use snappy compression for storage~~
|
||||
- Exact search
|
||||
- NOT operator support
|
||||
- Log operations
|
||||
|
@ -63,6 +63,7 @@ public:
|
||||
options.write_buffer_size = 4*1048576;
|
||||
options.max_write_buffer_number = 2;
|
||||
options.merge_operator.reset(new UInt64AddOperator);
|
||||
options.compression = rocksdb::CompressionType::kSnappyCompression;
|
||||
|
||||
// these need to be high for replication scenarios
|
||||
options.WAL_ttl_seconds = wal_ttl_secs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user