mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Improve CI builds by caching Go modules (#528)
* chore: Improve CI builds by caching Go modules * Skip running with `race` on non-Linux systems * Fix darwin file descriptor error * Fix log after close * Improve PostgreSQL test speeds * Fix parallel connections with PostgreSQL tests * Fix CI flake * Separate test/go into PostgreSQL
This commit is contained in:
@@ -354,6 +354,9 @@ func (c *Conn) AddRemoteCandidate(i webrtc.ICECandidateInit) {
|
||||
go func() {
|
||||
c.negotiateMutex.Lock()
|
||||
defer c.negotiateMutex.Unlock()
|
||||
if c.isClosed() {
|
||||
return
|
||||
}
|
||||
c.opts.Logger.Debug(context.Background(), "accepting candidate", slog.F("candidate", i.Candidate))
|
||||
err := c.rtc.AddICECandidate(i)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user