1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-02 20:02:53 +00:00
arikawa/utils
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
..
handler Handler: Use a free list over a linked list 2020-10-28 23:55:39 -07:00
httputil API: Added timeout if deadline is after rate limit (#173) 2020-11-25 12:08:42 -08:00
json Option: fix nullable types getting serialized to nil on JSON null 2020-11-22 09:33:33 -08:00
wsutil wsutil: Reset SendLimiter after Dial 2020-11-01 10:12:35 -08:00