about summary refs log tree commit diff
path: root/src/libutil/pool.hh
AgeCommit message (Collapse)AuthorFilesLines
2017-03-03 Pool: Don't hang if creating a connection failsEelco Dolstra1-0/+1
2017-03-03 Improve SSH handlingEelco Dolstra1-1/+6
* Unify SSH code in SSHStore and LegacySSHStore. * Fix a race starting the SSH master. We now wait synchronously for the SSH master to finish starting. This prevents the SSH clients from starting their own connections. * Don't use a master if max-connections == 1. * Add a "max-connections" store parameter. * Add a "compress" store parameter.
2016-11-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-2/+2
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-2/+2
2016-02-24 std::condition_variable_any -> std::condition_variableEelco Dolstra1-1/+1
The latter is supposed to be more efficient.
2016-02-24 C++ templates are just a glorified macro facilityEelco Dolstra1-2/+2
2016-02-24 Remove bad daemon connections from the poolEelco Dolstra1-4/+14
This is necessary for long-running processes like hydra-queue-runner: if a nix-daemon worker is killed, we need to stop reusing that connection.
2016-02-23 Pool<T>: Allow a maximum pool sizeEelco Dolstra1-15/+54
2016-02-23 RemoteStore: Make thread-safeEelco Dolstra1-0/+102
This allows a RemoteStore object to be used safely from multiple threads concurrently. It will make multiple daemon connections if necessary. Note: pool.hh and sync.hh have been copied from the Hydra source tree.