Add config options for FSAssetService. The default is the original asset service.

Signed-off-by: Melanie Thielker <melanie@t-data.com>
This commit is contained in:
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

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