Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit 00d8ff7

Browse files
committed
Fix issue in beanstalk backoff
1 parent 5bae7f8 commit 00d8ff7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ vendor/
66
clover.xml
77
.DS_Store
88
tests/.rr-test.yml
9-
go.sum
9+
go.sum
10+
psr-worker.php
11+
.rr-sample.yaml

broker/beanstalk/conn.go

-2
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ func (cn *conn) watch(network, addr string) {
138138
if err != nil {
139139
fmt.Println(fmt.Sprintf("redial failed: %s", err.Error()))
140140
cn.dead <- nil
141-
return
142141
}
143-
continue
144142

145143
case <-cn.stop:
146144
cn.lock.L.Lock()

0 commit comments

Comments
 (0)