1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-17 15:38:46 +00:00
arikawa/utils/wsutil
diamondburned f1f052180b Heart: Improve thread-safety and pace responsiveness
This commit consists of these smaller commits:

    Gateway: SessionID to be a method for thread safety

	This commit breaks the SessionID field of the Gateway struct to
	be thread-safe by wrapping its access with a read-write mutex.
	As this is a bug fix, it is reasonable of a breaking change

    Heart: Allow later binding of event channel

    Voice: Use the new Heart API

    Heart: Fixed data races

    Heart: Allow changing pace, thread-safe Heartbeat
2020-12-31 01:32:45 -08:00
..
conn.go wsutil: Fixed irregular close 1000 error 2020-11-30 21:49:55 -08:00
heart.go Heart: Improve thread-safety and pace responsiveness 2020-12-31 01:32:45 -08:00
op.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
throttler.go Gateway: Allow for more lenient gateway bursts 2020-07-14 18:47:15 -07:00
ws.go wsutil: Reset SendLimiter after Dial 2020-11-01 10:12:35 -08:00