FlotsamCache.ini.example 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 no memory cache
  19. MemoryCacheEnabled = false
  20. ; Set to false for no file cache
  21. FileCacheEnabled = true
  22. ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
  23. ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute)
  24. ; increases performance without large memory impact
  25. MemoryCacheTimeout = 2
  26. ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
  27. ; Specify 0 if you do not want your disk cache to expire
  28. FileCacheTimeout = 48
  29. ; How often {in hours} should the disk be checked for expired filed
  30. ; Specify 0 to disable expiration checking
  31. FileCleanupTimer = 1.0 ;every hour
  32. ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
  33. ; long (in miliseconds) to block a request thread while trying to complete
  34. ; an existing write to disk.
  35. ; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE
  36. ; WaitOnInprogressTimeout = 3000
  37. ; Number of tiers to use for cache directories (current valid
  38. ; range 1 to 3)
  39. ;CacheDirectoryTiers = 1
  40. ; Number of letters per path tier, 1 will create 16 directories
  41. ; per tier, 2 - 256, 3 - 4096 and 4 - 65K
  42. ;CacheDirectoryTierLength = 3
  43. ; Warning level for cache directory size
  44. ;CacheWarnAt = 30000