Cache all assets on upload so that the client can still retrieve the asset if it enters a retry queue
parent
b38a22506b
commit
071d601dcb
|
@ -255,12 +255,11 @@ namespace OpenSim.Services.Connectors
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Store(AssetBase asset)
|
public string Store(AssetBase asset)
|
||||||
{
|
|
||||||
if (asset.Temporary || asset.Local)
|
|
||||||
{
|
{
|
||||||
if (m_Cache != null)
|
if (m_Cache != null)
|
||||||
m_Cache.Cache(asset);
|
m_Cache.Cache(asset);
|
||||||
|
if (asset.Temporary || asset.Local)
|
||||||
|
{
|
||||||
return asset.ID;
|
return asset.ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue