mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
fix llRequestAgentData cache timeout
This commit is contained in:
@@ -4808,7 +4808,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
pinfo = ce.pinfo;
|
||||
}
|
||||
|
||||
if (Util.EnvironmentTickCount() < ce.time || (Util.EnvironmentTickCount() - ce.time) >= 20000)
|
||||
if (Util.EnvironmentTickCount() < ce.time ||
|
||||
(Util.EnvironmentTickCount() - ce.time) >= LlRequestAgentDataCacheTimeoutMs)
|
||||
{
|
||||
PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
|
||||
if (pinfos != null && pinfos.Length > 0)
|
||||
|
||||
Reference in New Issue
Block a user