Skip to content

Commit

Permalink
Increment initial ts for multicast enqueue.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Jul 6, 2021
1 parent ea8759a commit 4b18f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/downlink/multicast/enqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ func EnqueueQueueItem(ctx context.Context, db sqlx.Ext, qi storage.MulticastQueu

if ts.IsZero() {
ts = time.Now()
} else {
ts = ts.Add(multicastGatewayDelay)
}

for _, gatewayID := range gatewayIDs {
Expand Down

0 comments on commit 4b18f02

Please sign in to comment.