Mercurial > hg
comparison mercurial/keepalive.py @ 49215:8d31ef3017c9 stable
run-tests: prevent race-condition when picking a channel
Before this, multiple jobs could search the list at the same time and pick the
same free channel.
We now project this search/assignment with a simple lock.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 24 May 2022 10:34:42 +0200 |
parents | 59fa3890d40a |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
49214:eca367970253 | 49215:8d31ef3017c9 |
---|