Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HTTP Requests maxed at 500 - How much is that?

Asked by 7 years ago

I'm using discord webhook so that everything said in-game is outputted into a discord channel. I have it working, however, when there are too many people talking in-game, it times out.

I checked the wiki and it says there's a max of 500 requests per minute - but, how much is that? What is it counting? There aren't 500 messages being sent per minute.

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
7 years ago
Edited 7 years ago

There might not be 500 messages being sent per minute, however you are sending 500 requests in a combination of GetAsync() and SetAsync(). Try to reduce it. Check other scripts to see if they're using HTTP Service

0
How do I know when I've sent too many requests though? I could try making a queue but I'd like to know how much to output a minute. CherryLeaves 32 — 7y
0
Well, as you said, requests are capped at 500 per minute. I never have reached that much. The best way to know how many requests you're sending a minute is by in each script that either GetAsync or SetAsync, have it add +1 to a global variable. Check it Shawnyg 4330 — 7y
1
Are you constantly reading from the Discord chat? Shawnyg 4330 — 7y
Ad

Answer this question