本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
769B

  1. # LedisDB configuration
  2. # Server listen address
  3. addr = "127.0.0.1:6380"
  4. # Server http listen address, set empty to disable
  5. http_addr = "127.0.0.1:11181"
  6. # Data store path, all ledisdb's data will be saved here
  7. data_dir = "/tmp/ledis_server"
  8. # Log server command, set empty to disable
  9. access_log = ""
  10. # Set slaveof to enable replication from master, empty, no replication
  11. slaveof = ""
  12. # Choose which backend storage to use, now support:
  13. #
  14. # leveldb
  15. # rocksdb
  16. # goleveldb
  17. # lmdb
  18. # boltdb
  19. # hyperleveldb
  20. # memory
  21. #
  22. db_name = "leveldb"
  23. [leveldb]
  24. compression = false
  25. block_size = 32768
  26. write_buffer_size = 67108864
  27. cache_size = 524288000
  28. max_open_files = 1024
  29. [lmdb]
  30. map_size = 524288000
  31. nosync = true
  32. [binlog]
  33. max_file_size = 0
  34. max_file_num = 0
上海开阖软件有限公司 沪ICP备12045867号-1