[server]

log_level = "debug"


[channel]

inet = "127.0.0.1:5041"
tcp_timeout = 300

auth_password = "SecretPassword"

[channel.search]

query_limit_default = 10
query_limit_maximum = 100
query_alternates_try = 4

suggest_limit_default = 5
suggest_limit_maximum = 20

list_limit_default = 100
list_limit_maximum = 500


[store]

[store.kv]

path = "./sonic/data/store/kv/"

retain_word_objects = 1000

[store.kv.pool]

inactive_after = 1800

[store.kv.database]

flush_after = 900

compress = true
parallelism = 4
max_files = 10000
max_compactions = 1
max_flushes = 1
write_buffer = 1638400
write_ahead_log = true

[store.fst]

path = "./sonic/data/store/fst/"

[store.fst.pool]

inactive_after = 300

[store.fst.graph]

consolidate_after = 180

max_size = 20480
max_words = 2500000
