Roblox / tarmac

Command line tool to manage Roblox assets
MIT License
111 stars 25 forks source link

Handle HTTP 429 from Roblox sync backend #34

Closed LPGhatguy closed 4 years ago

LPGhatguy commented 4 years ago

Closes #25.

After this change, Tarmac will handle an HTTP 429 response from the Roblox API by saving what has been already done and exiting with an error.

The Roblox upload API does not return a useful value in its Retry-After header, currently always 0. If this API is updated or Tarmac switches to a different API, we may be able to wait until the API gives us the go-ahead instead of exiting.