config.cfg 784 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [server]
  2. log_level = "debug"
  3. [channel]
  4. inet = "127.0.0.1:5041"
  5. tcp_timeout = 300
  6. auth_password = "SecretPassword"
  7. [channel.search]
  8. query_limit_default = 10
  9. query_limit_maximum = 100
  10. query_alternates_try = 4
  11. suggest_limit_default = 5
  12. suggest_limit_maximum = 20
  13. list_limit_default = 100
  14. list_limit_maximum = 500
  15. [store]
  16. [store.kv]
  17. path = "./sonic/data/store/kv/"
  18. retain_word_objects = 1000
  19. [store.kv.pool]
  20. inactive_after = 1800
  21. [store.kv.database]
  22. flush_after = 900
  23. compress = true
  24. parallelism = 4
  25. max_files = 10000
  26. max_compactions = 1
  27. max_flushes = 1
  28. write_buffer = 1638400
  29. write_ahead_log = true
  30. [store.fst]
  31. path = "./sonic/data/store/fst/"
  32. [store.fst.pool]
  33. inactive_after = 300
  34. [store.fst.graph]
  35. consolidate_after = 180
  36. max_size = 20480
  37. max_words = 2500000