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