From 6e7c0812c78c50c1b06da9a0f326a5e21a1fab6f Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 30 Jun 2025 22:22:20 +0200 Subject: [PATCH] libstore: drop checkInterrupt from LocalStore::verifyPath it's only called by verifyStore, and verifyStore is only called by the daemon and `nix-store --verify`. both pass the promise to `blockOn()`. Change-Id: I829c0d189fa913cd8566ddd1a578c50e60fb2ddb --- lix/libstore/local-store.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/lix/libstore/local-store.cc b/lix/libstore/local-store.cc index 06fad5376..cb4ca3e84 100644 --- a/lix/libstore/local-store.cc +++ b/lix/libstore/local-store.cc @@ -1585,8 +1585,6 @@ kj::Promise> LocalStore::verifyPath( bool & errors ) try { - checkInterrupt(); - if (!done.insert(path).second) co_return result::success(); if (!storePathsInStoreDir.count(path)) { @@ -1628,7 +1626,6 @@ try { co_return result::current_exception(); } - kj::Promise> LocalStore::getProtocol() { return {result::success(PROTOCOL_VERSION)};