Cache all assets on upload so that the client can still retrieve the asset if it enters a retry queue

avinationmerge
Tom Grimshaw 2010-07-01 09:46:57 -07:00
parent b38a22506b
commit 071d601dcb
1 changed files with 2 additions and 3 deletions

View File

@ -255,12 +255,11 @@ namespace OpenSim.Services.Connectors
}
public string Store(AssetBase asset)
{
if (asset.Temporary || asset.Local)
{
if (m_Cache != null)
m_Cache.Cache(asset);
if (asset.Temporary || asset.Local)
{
return asset.ID;
}