mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
llRequestAgentData: let presence cache expire or fast requestes may block eventual updates
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user