make queueSignal send non-blocking to prevent goroutine leak

This commit is contained in:
2026-04-26 13:02:09 +02:00
parent b06385069b
commit dab84068f3

View File

@@ -136,7 +136,10 @@ func (b *BuildManager) buildQueue(ctx context.Context, queue []*ProtoPackage) er
}
doneQLock.Unlock()
b.buildingLock.Unlock()
b.queueSignal <- struct{}{}
select {
case b.queueSignal <- struct{}{}:
default:
}
}(pkg)
}
} else {