1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-20 05:43:21 +00:00
arikawa/utils/httputil
Maximilian von Lindern 0a8b24339b
API: Added timeout if deadline is after rate limit (#173)
* Rate: don't sleep if sleep exceeds context deadline

* Httputil: add Client.Timeout

* Bot: set default API timeout to 5 minutes

* Rate: reduce calls to time.Now in Acquire

* API: Optimize to use deadline instead of recalculating

Co-authored-by: diamondburned <datutbrus@gmail.com>
2020-11-25 12:08:42 -08:00
..
httpdriver API: Added WithContext API, closes #15 2020-05-03 14:02:03 -07:00
client.go API: Added timeout if deadline is after rate limit (#173) 2020-11-25 12:08:42 -08:00
errors.go make all error messages lowercase 2020-05-16 23:14:49 +02:00
options.go json: Fixed a race condition with erroneous JSON streams 2020-11-14 14:18:50 -08:00
schema.go Changed internal/ to utils/, allowing external imports 2020-04-08 19:28:40 -07:00