FlotsamCache.ini.example 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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
  42. ; Perform a deep scan of all assets within all regions, looking for all assets
  43. ; present or referenced. Mark all assets found that are already present in the
  44. ; cache, and request all assets that are found that are not already cached (this
  45. ; will cause those assets to be cached)
  46. ;
  47. ; DeepScanBeforePurge = false