llRequestAgentData: let presence cache expire or fast requestes may block eventual updates

This commit is contained in:
UbitUmarov
2020-11-07 01:39:58 +00:00
parent c168e55589
commit f25b1283b9

View File

@@ -5016,13 +5016,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
}
m_PresenceInfoCache.AddOrUpdate(uuid, pinfo, m_llRequestAgentDataCacheTimeout);
}
m_PresenceInfoCache.AddOrUpdate(uuid, pinfo, m_llRequestAgentDataCacheTimeout);
if (pinfo != null && pinfo.RegionID != UUID.Zero)
reply = "1";
else
reply = "0";
reply = pinfo == null ? "0" : "1";
}
}
}