Skip to content

Commit

Permalink
Merge 4e8a29a into 17631e1
Browse files Browse the repository at this point in the history
  • Loading branch information
actumn committed Aug 24, 2019
2 parents 17631e1 + 4e8a29a commit e450f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (cb *RedisCeleryBroker) SendCeleryMessage(message *CeleryMessage) error {
func (cb *RedisCeleryBroker) GetCeleryMessage() (*CeleryMessage, error) {
conn := cb.Get()
defer conn.Close()
messageJSON, err := conn.Do("BLPOP", cb.queueName, "1")
messageJSON, err := conn.Do("BRPOP", cb.queueName, "1")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e450f7f

Please sign in to comment.