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
AliciaRaven 2015-07-13 13:19:30 +01:00 committed by Melanie Thielker
parent 248c0e18de
commit a7543a3391
4 changed files with 32 additions and 2 deletions

View File

@ -205,7 +205,12 @@
; * in turn, reads the asset loader and database connection information
; *
[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"
AssetLoaderArgs = "./assets/AssetSets.xml"

View File

@ -166,7 +166,11 @@
; * in turn, reads the asset loader and database connection information
; *
[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"
AssetLoaderArgs = "./assets/AssetSets.xml"

View File

@ -0,0 +1,3 @@
[AssetService]
LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"

View File

@ -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"