Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llbsolver: fix possible deadlock in history listen
The events for currently active builds were sent through pubsub channel instead of directly to the current request, like it was done for completed builds for example. This meant that if there are more active builds running than the pubsub channel buffer (32) the sends will block. Because the history API mutex is held in this process it will eventually block the requests for builds that try to update their history records. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 1ed9931)
- Loading branch information