FlotsamCache.ini.example 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. MemoryCacheTimeout = 2
  22. ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
  23. ; Specify 0 if you do not want your disk cache to expire
  24. FileCacheTimeout = 0
  25. ; How often {in hours} should the disk be checked for expired filed
  26. ; Specify 0 to disable expiration checking
  27. FileCleanupTimer = .166 ;roughly every 10 minutes
  28. ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
  29. ; long (in miliseconds) to block a request thread while trying to complete
  30. ; an existing write to disk.
  31. ; WaitOnInprogressTimeout = 3000
  32. ; Number of tiers to use for cache directories (current valid
  33. ; range 1 to 3)
  34. ;CacheDirectoryTiers = 1
  35. ; Number of letters per path tier, 1 will create 16 directories
  36. ; per tier, 2 - 256, 3 - 4096 and 4 - 65K
  37. ;CacheDirectoryTierLength = 3
  38. ; Warning level for cache directory size
  39. ;CacheWarnAt = 30000