"HTTP requests made using llHTTPRequest are throttled based on the script owner and region. Requests are throttled to a maximum of 20 requests per 100 seconds."
In experimenting with this in the last 2 days, it seems this might be inaccurate, despite what others have reported.
I have set the timer on my script to 5, 6, and even 10 second intervals between each llHTTPRequest. While I have not tried intervals longer than this, it seems that even at 10 second intervals with only 1 object running that has the script, its still throttling after an uncertain number of requests have been reached.
Has anyone else run into this also?
(edit)
Here is the script I am currently using.
CODE
integer timerOn = 0; // set "on" flag to 0 (on)
default
{
touch_start(integer total_number)
{
if(timerOn == 0)
{
timerOn = 1;
llSay(0,"Starting Tracking");
llSetTimerEvent(10);
}else{
timerOn = 0;
llSay(0,"Stopping Tracking");
llSetTimerEvent(0);
}
}
timer()
{
llSay(0,"Tracking...");
if(llHTTPRequest("http://URLREMOVEDFORSECURITY",[HTTP_METHOD,"POST"],"")==NULL_KEY){
llSay(0,"HTTP throttle reached");
}
}
http_response(key request_id, integer status, list metadata, string body)
{
llSay(0,body);
}
}
The timer is currently set to 10 seconds.
I ran this several times, leaving several minutes between each run to clear out the throttle buffer.
1st run: ran 4 times before throttle was reached
2nd run: 3 times
3rd run: 3 times
There's a bug here, unless someone can pinpoint the error in my code.