Skip to content

Commit

Permalink
fix(window): sliding delay time
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying committed Dec 5, 2024
1 parent 6a2d600 commit b0a7549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/topo/node/window_op.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func (o *WindowOperator) execProcessingWindow(ctx api.StreamContext, inputs []*x
if o.isMatchCondition(ctx, d) {
if o.window.Delay > 0 {
go func(ts time.Time) {
after := time.After(o.window.Delay * time.Millisecond)
after := time.After(o.window.Delay)

Check warning on line 348 in internal/topo/node/window_op.go

View check run for this annotation

Codecov / codecov/patch

internal/topo/node/window_op.go#L348

Added line #L348 was not covered by tests
select {
case <-after:
delayCh <- ts
Expand Down

0 comments on commit b0a7549

Please sign in to comment.