config.toml 611 B

123456789101112131415161718192021222324
  1. [config]
  2. BATCH_BLOCK = 100000
  3. myPort = 3000
  4. myDir = "slkvdb"
  5. isServer = false
  6. isShell = true
  7. database = "badger" # badger, buntdb, leveldb
  8. databaseName = "gosl-database.db"
  9. [options]
  10. # importFilename = "slkvdb/name2key.new.csv.bz2" # set to "name2key.csv.bz2" (or any similar name) to actually do an import
  11. importFilename = ""
  12. noMemory = true # usually necessary for FastCGI configurations
  13. [BuntDB]
  14. # probably not used, since this is allegedly generated by default (gwyneth 20211103)
  15. dbNamePath = ""
  16. [log]
  17. Filename = "gosl.log"
  18. logLevel = "ERROR"
  19. MaxSize = 10 # MBytes
  20. MaxBackups = 3
  21. MaxAge = 28 # days