also throttle llhttprequest by owner, options: PrimOwnerRequestsBurst = 5, PrimOwnerRequestsPerSec = 25; increase concurrency to 8

This commit is contained in:
UbitUmarov
2019-02-24 09:46:55 +00:00
parent 800f6d6529
commit cd5a6daa84
3 changed files with 87 additions and 71 deletions

View File

@@ -13950,7 +13950,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if(httpScriptMod == null)
return "";
if(!httpScriptMod.CheckThrottle(m_host.LocalId))
if(!httpScriptMod.CheckThrottle(m_host.LocalId, m_host.OwnerID))
return UUID.Zero.ToString();
List<string> param = new List<string>();