summaryrefslogtreecommitdiff
path: root/plugins/amqp/amqpjobs/redial.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/amqp/amqpjobs/redial.go')
-rw-r--r--plugins/amqp/amqpjobs/redial.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/amqp/amqpjobs/redial.go b/plugins/amqp/amqpjobs/redial.go
index 56142e2b..8d21784f 100644
--- a/plugins/amqp/amqpjobs/redial.go
+++ b/plugins/amqp/amqpjobs/redial.go
@@ -27,7 +27,7 @@ func (c *consumer) redialer() { //nolint:gocognit
// trash the broken publishing channel
<-c.publishChan
- t := time.Now()
+ t := time.Now().UTC()
pipe := c.pipeline.Load().(*pipeline.Pipeline)
c.eh.Push(events.JobEvent{
@@ -35,7 +35,7 @@ func (c *consumer) redialer() { //nolint:gocognit
Pipeline: pipe.Name(),
Driver: pipe.Driver(),
Error: err,
- Start: time.Now(),
+ Start: time.Now().UTC(),
})
expb := backoff.NewExponentialBackOff()