GameServerManagers / GameServerManagers/LinuxGSM

[Feature]: To be able to specify a user login for github api calls

Open
#4,855 0 comments 0 reactions 0 assignees View on GitHub
command: mods engine: unity3d game: Rust type: feature
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### User story

With more than about 3 servers on 1 IP, the anonymous api calls is ratelimited to 60 per hour

### Game

Rust

### Linux distro

Other

### Command

command: mods-update

### Further information

I run 9 servers in total and the ratelimit is killing me during server wipes and updates. Each time mods-update is run, it performs about 11 api calls. This would allow at most 5 servers on the same IP before ratelimiting starts to interfere. If I could specify a user for the api calls to use (I'd be happy to specify my own) then the ratelimit goes up to 5,000 which is more than enough.

The error you see when you have exhausted your limit is

jq: error (at :1): Cannot iterate over null (null)
jq: error (at :1): Cannot iterate over null (null)

which doesn't really indicate what the real reason for the failure is.

I briefly looked through the scripts and it doesn't look like this feature currently exists.

Github rate limits are described here

https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.