increase xmlrpc timeout in xmlrpcgroups, disable its cache until its entries invalidation is checked

LSLKeyTest
UbitUmarov 2016-07-01 16:24:42 +01:00
parent 9358a6ad29
commit 6deced0193
1 changed files with 5 additions and 1 deletions

View File

@ -180,6 +180,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
m_groupWriteKey = groupsConfig.GetString("XmlRpcServiceWriteKey", string.Empty);
m_cacheTimeout = groupsConfig.GetInt("GroupsCacheTimeout", 30);
// disable cache until it is fixed
m_cacheTimeout = 0;
if (m_cacheTimeout == 0)
{
m_log.WarnFormat("[XMLRPC-GROUPS-CONNECTOR]: Groups Cache Disabled.");
@ -973,7 +977,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
try
{
resp = req.Send(m_groupsServerURI, 10000);
resp = req.Send(m_groupsServerURI, 30000);
if ((m_cacheTimeout > 0) && (CacheKey != null))
{