Rate Limiting
The server uses a 'Token Bucket' approach meaning that you should be careful how many requests you send, however if you are sensible, this should be a non-issue...
You get: 50 tokens max per IP address with 15 replenished per second 25 tokens max per PlayerID with 3 replenished per second
And these are the costs:
RustPlus.py now handles ratelimiting automatically. It can either raise exceptions when you are going to exceed the limit or it can wait and send it later when you have enough tokens. Change this in the RustSocket
constructor (raise_ratelimit_exception
). This defaults to True
, so set it to false if you want the socket to wait until you can afford the operations.
Last updated