-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementImprove an existing featureImprove an existing feature
Description
When checking for priority queue, the tool needs to fetch information for the steam ID, however, this endpoint is rate limited by CFTools. When the tool tries to fetch priority queue status for multiple servers, it can easily end in the following logs (errors):
{"level":"error","message":"Could not request Priority queue information for server API ID: [object Object]. Error: Error: RequestLimitExceeded: https://data.cftools.cloud/v1/users/lookup?identifier=7656xxxx"}
This should either be handled in the sdk or in this tool. Two things to do, I think:
- reduce number of requests to the endpoint by caching the steam ID -> cftools ID response
- Handle the rate limit somehow (retry or so)
Metadata
Metadata
Assignees
Labels
enhancementImprove an existing featureImprove an existing feature