Skip to content

Commit

Permalink
sleep 20
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Mar 6, 2024
1 parent 0a32419 commit 46d4394
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flow/activities/flowable.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,9 @@ func (a *FlowableActivity) ReplicateQRepPartitions(ctx context.Context,
partitions.BatchId, numPartitions),
)
for i, p := range partitions.Partitions {
logger.Info(fmt.Sprintf("batch-%d - waiting for 20 seconds before replicating partition - %s",
time.Sleep(20 * time.Second)

logger.Info(fmt.Sprintf("batch-%d - replicating partition - %s", partitions.BatchId, p.PartitionId))
err := a.replicateQRepPartition(ctx, config, i+1, numPartitions, p, runUUID)
if err != nil {
Expand Down

0 comments on commit 46d4394

Please sign in to comment.