FlotsamCache.ini.example 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [AssetCache]
  2. ;;
  3. ;; Options for FlotsamAssetCache
  4. ;;
  5. ; cache directory can be shared by multiple instances
  6. CacheDirectory = ./assetcache
  7. ; Other examples:
  8. ;CacheDirectory = /directory/writable/by/OpenSim/instance
  9. ; Log level
  10. ; 0 - (Error) Errors only
  11. ; 1 - (Info) Hit Rate Stats + Level 0
  12. ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
  13. ;
  14. LogLevel = 0
  15. ; How often should hit rates be displayed (given in AssetRequests)
  16. ; 0 to disable
  17. HitRateDisplay = 100
  18. ; Set to false for disk cache only.
  19. MemoryCacheEnabled = false
  20. ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
  21. ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute)
  22. ; increases performance without large memory impact
  23. MemoryCacheTimeout = 2
  24. ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
  25. ; Specify 0 if you do not want your disk cache to expire
  26. FileCacheTimeout = 0
  27. ; How often {in hours} should the disk be checked for expired filed
  28. ; Specify 0 to disable expiration checking
  29. FileCleanupTimer = .166 ;roughly every 10 minutes
  30. ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
  31. ; long (in miliseconds) to block a request thread while trying to complete
  32. ; an existing write to disk.
  33. ; WaitOnInprogressTimeout = 3000
  34. ; Number of tiers to use for cache directories (current valid
  35. ; range 1 to 3)
  36. ;CacheDirectoryTiers = 1
  37. ; Number of letters per path tier, 1 will create 16 directories
  38. ; per tier, 2 - 256, 3 - 4096 and 4 - 65K
  39. ;CacheDirectoryTierLength = 3
  40. ; Warning level for cache directory size
  41. ;CacheWarnAt = 30000