Lock mutex in Buffer.SetLimit
What does this MR do?
Adds a mutex lock in Buffer.SetLimit
to prevent the data race displayed in https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/916941015#L370
Why was this MR needed?
To avoid random broken builds.
What are the relevant issue numbers?
Fixes #27326 (closed)