summaryrefslogtreecommitdiff
path: root/bookpipeline/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-14 08:24:27 +0100
committerNick White <git@njw.name>2019-09-14 08:24:27 +0100
commit7b79288b55077c5f378b5f5e45f2ac8fd3be76ee (patch)
treec3d86dc52b1a6ef23b307c91cd263a020bd499bf /bookpipeline/cmd
parentf0b9f708496bb5335102846b65c1880596ee2ad3 (diff)
Ensure enough time has elapsed before looking for the message to reget in the case of heartbeat running out
Diffstat (limited to 'bookpipeline/cmd')
-rw-r--r--bookpipeline/cmd/bookpipeline/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bookpipeline/cmd/bookpipeline/main.go b/bookpipeline/cmd/bookpipeline/main.go
index 610b969..f1309ca 100644
--- a/bookpipeline/cmd/bookpipeline/main.go
+++ b/bookpipeline/cmd/bookpipeline/main.go
@@ -242,6 +242,7 @@ func heartbeat(conn Pipeliner, t *time.Ticker, msg bookpipeline.Qmsg, queue stri
return
}
if m.Id != "" {
+ conn.GetLogger().Println("Replaced message handle as visibilitytimeout limit was reached")
currentmsg = m
// TODO: maybe handle communicating new msg more gracefully than this
for range msgc {