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
This commit is contained in:
@@ -1585,8 +1585,6 @@ kj::Promise<Result<void>> 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<Result<unsigned int>> LocalStore::getProtocol()
|
||||
{
|
||||
return {result::success(PROTOCOL_VERSION)};
|
||||
|
||||
Reference in New Issue
Block a user