Skip to content
Snippets Groups Projects
Commit a3c50bf8 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

fix quantumlayer push

parent cdafe1ef
No related branches found
No related tags found
1 merge request!213Allow to reset key store and stop key fetching
Pipeline #225328 failed
This commit is part of merge request !213. Comments created here will be created in the context of that merge request.
...@@ -43,8 +43,9 @@ func (ql *QuantumlayerEmulator) Start() { ...@@ -43,8 +43,9 @@ func (ql *QuantumlayerEmulator) Start() {
err = ql.sendDatatoKMS(data, length, iteration) err = ql.sendDatatoKMS(data, length, iteration)
if err != nil { if err != nil {
logrus.Error("Error sending data to KMS, will retry: ", err) logrus.Error("Error sending data to KMS, will retry: ", err)
time.Sleep(1 * time.Second)
continue
} }
time.Sleep(1 * time.Second)
break break
} }
logrus.Infof("Iteration %d: Sent %d bytes to KMS", iteration, length) logrus.Infof("Iteration %d: Sent %d bytes to KMS", iteration, length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment