FlotsamCache.ini.example 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 = .166 ;roughly every 10 minutes
  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
  45. ; Perform a deep scan of all assets within all regions, looking for all assets
  46. ; present or referenced. Mark all assets found that are already present in the
  47. ; cache, and request all assets that are found that are not already cached (this
  48. ; will cause those assets to be cached)
  49. ;
  50. ; DeepScanBeforePurge = false