Skip to content

fix: use authenticated urls for pubsub #14261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Aug 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move to defer
  • Loading branch information
f0ssel committed Aug 21, 2024
commit c18963bd8922ec6df8da2a6038edb19b010c2beb
3 changes: 2 additions & 1 deletion coderd/database/dbtestutil/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ func (d *Driver) AddConnection(conn driver.Conn) {

func (d *Driver) WaitForConnection() {
ch := make(chan struct{})
defer close(ch)
defer delete(d.listeners, ch)
d.listeners[ch] = ch
<-ch
delete(d.listeners, ch)
}

func (d *Driver) DropConnections() {
Expand Down
Loading