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

Remove warnLargeDump()

This message was unhelpful (#1184) and probably misleading since
memory is O(1) in most cases now.
This commit is contained in:
Eelco Dolstra 2022-08-12 12:28:02 +02:00
parent c3769c6846
commit 53e7b7e8ac
3 changed files with 1 additions and 25 deletions

View file

@ -580,7 +580,6 @@ ref<const ValidPathInfo> RemoteStore::addCAToStore(
try {
conn->to.written = 0;
conn->to.warn = true;
connections->incCapacity();
{
Finally cleanup([&]() { connections->decCapacity(); });
@ -591,7 +590,6 @@ ref<const ValidPathInfo> RemoteStore::addCAToStore(
dumpString(contents, conn->to);
}
}
conn->to.warn = false;
conn.processStderr();
} catch (SysError & e) {
/* Daemon closed while we were sending the path. Probably OOM