-
Notifications
You must be signed in to change notification settings - Fork 14
reopen channel, retry publish #11
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
Conversation
Signed-off-by: kuba-- <[email protected]>
Signed-off-by: kuba-- <[email protected]>
amqp/amqp.go
Outdated
| } | ||
|
|
||
| b := &Broker{ | ||
| mut: sync.RWMutex{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since mut is not a pointer the zero value is already sync.RWMutex{}, so you can remove this line
amqp/amqp_test.go
Outdated
| "github.com/stretchr/testify/suite" | ||
| ) | ||
|
|
||
| // Pilosa tests require running docker. If `docker ps` command returned an error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Pilosa/AMQP/
Signed-off-by: kuba-- <[email protected]>
erizocosmico
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM when tests pass
|
Appveyor build failed (WHAT!?):
|
Signed-off-by: kuba-- <[email protected]>
Signed-off-by: kuba-- <[email protected]>
|
Ok, now we can merge. |
amqp/amqp.go
Outdated
| break | ||
| } | ||
|
|
||
| // b.mut.Lock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need those locks or can we delete the lines? Same in b.chErrors block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, my bad - leftovers
|
The AppVeyor problem with rabbit happens from time to time. There's already an issue opened to take a look. #10 |
Signed-off-by: kuba-- <[email protected]>
Closes: src-d/borges#297
Publishif we connection dropped in a meantime.