* Refactor

* Break out common BasicDOSProtector code into separate class.
This commit is contained in:
teravus
2013-10-07 23:19:50 -05:00
parent f76cc6036e
commit 75fdd6054d
7 changed files with 218 additions and 415 deletions

View File

@@ -56,7 +56,7 @@ namespace OpenSim.Server.Handlers.Asset
MaxRequestsInTimeframe = 5,
ReportingName = "ASSETGETDOSPROTECTOR",
RequestTimeSpan = TimeSpan.FromSeconds(5),
ThrottledAction = ThrottleAction.DoThrottledMethod
ThrottledAction = BasicDOSProtector.ThrottleAction.DoThrottledMethod
})
{
m_AssetService = service;