Don't wait forever to acquire the send lock
[?]
Sep 1, 2017, 1:29 PM
UYDRSHYRPB5YLSDRY6CZWIIUQWMT3HTCPUXHTH4YHCZZCOFFWCSQCDependencies
- [2]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [3]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [4]
5AIYUMTBBasic remote building - [5]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [6]
YR2IM6Y5Temporarily disable machines after a connection failure - [7]
HJOEIMLRRefactor
Change contents
- replacement in src/hydra-queue-runner/build-remote.cc at line 232
std::lock_guard<std::mutex> sendLock(machine->state->sendLock);std::unique_lock<std::timed_mutex> sendLock(machine->state->sendLock, std::chrono::seconds(600)); - replacement in src/hydra-queue-runner/state.hh at line 234
std::mutex sendLock;std::timed_mutex sendLock;