Skip to content

Commit 51039e4

Browse files
committed
llbsolver: send active event only to current client
Previously this caused event for active builds to be resent to all client who are monitoring when new client makes a request. Signed-off-by: Tonis Tiigi <[email protected]>
1 parent c267c7e commit 51039e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solver/llbsolver/history.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ func (h *HistoryQueue) Listen(ctx context.Context, req *controlapi.BuildHistoryR
567567
if _, ok := h.deleted[e.Ref]; ok {
568568
continue
569569
}
570-
sub.ps.Send(&controlapi.BuildHistoryEvent{
570+
sub.send(&controlapi.BuildHistoryEvent{
571571
Type: controlapi.BuildHistoryEventType_STARTED,
572572
Record: e,
573573
})

0 commit comments

Comments
 (0)