Add config options for FSAssetService. The default is the original asset service.
Signed-off-by: Melanie Thielker <melanie@t-data.com>0.8.2-post-fixes
parent
248c0e18de
commit
a7543a3391
|
@ -205,7 +205,12 @@
|
||||||
; * in turn, reads the asset loader and database connection information
|
; * in turn, reads the asset loader and database connection information
|
||||||
; *
|
; *
|
||||||
[AssetService]
|
[AssetService]
|
||||||
LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
|
|
||||||
|
;; Choose an asset service (Only one option should be enabled)
|
||||||
|
Include-AssetConfig = "config-include/GridAssets_Default.ini"
|
||||||
|
;Include-AssetConfig = "config-include/GridAssets_FSAssets.ini"
|
||||||
|
|
||||||
|
;; Common asset service options
|
||||||
DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
|
DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
|
||||||
AssetLoaderArgs = "./assets/AssetSets.xml"
|
AssetLoaderArgs = "./assets/AssetSets.xml"
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,11 @@
|
||||||
; * in turn, reads the asset loader and database connection information
|
; * in turn, reads the asset loader and database connection information
|
||||||
; *
|
; *
|
||||||
[AssetService]
|
[AssetService]
|
||||||
LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
|
|
||||||
|
;; Choose an asset service (Only one option should be enabled)
|
||||||
|
Include-AssetConfig = "config-include/GridAssets_Default.ini"
|
||||||
|
;Include-AssetConfig = "config-include/GridAssets_FSAssets.ini"
|
||||||
|
|
||||||
DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
|
DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
|
||||||
AssetLoaderArgs = "./assets/AssetSets.xml"
|
AssetLoaderArgs = "./assets/AssetSets.xml"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[AssetService]
|
||||||
|
|
||||||
|
LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
|
|
@ -0,0 +1,18 @@
|
||||||
|
[AssetService]
|
||||||
|
|
||||||
|
LocalServiceModule = "OpenSim.Services.FSAssetService.dll:FSAssetConnector"
|
||||||
|
|
||||||
|
BaseDirectory = "./fsassets/data"
|
||||||
|
SpoolDirectory = "./fsassets/tmp"
|
||||||
|
|
||||||
|
;; Original service can be checked if FSAssets can not find an asset
|
||||||
|
FallbackService = "OpenSim.Services.AssetService.dll:AssetService";
|
||||||
|
|
||||||
|
;; How many days since last updating the access time before its updated again when accessing an asset
|
||||||
|
;; Reduces DB calls if asset is requested oftern. Default value 0
|
||||||
|
;DaysBetweenAccessTimeUpdates = 30
|
||||||
|
|
||||||
|
;; Custom Database config (Leave blank to use grids default database configuration)
|
||||||
|
;StorageProvider = ""
|
||||||
|
;ConnectionString = ""
|
||||||
|
;Realm = "fsassets"
|
Loading…
Reference in New Issue