1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00

Merge branch 'nix-doctor' of https://github.com/LnL7/nix

This commit is contained in:
Eelco Dolstra 2018-10-27 12:54:22 +02:00
commit 63575ffa38
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
7 changed files with 139 additions and 0 deletions

View file

@ -693,6 +693,13 @@ void RemoteStore::connect()
}
unsigned int RemoteStore::getProtocol()
{
auto conn(connections->get());
return conn->daemonVersion;
}
void RemoteStore::flushBadConnections()
{
connections->flushBad();