mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Cache all assets on upload so that the client can still retrieve the asset if it enters a retry queue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user