Skip to content

Commit

Permalink
cleanup: Logs for benchmarks
Browse files Browse the repository at this point in the history
During shut down, pipe close is interpreted as empty input which riddles benchmark logs with 'Unexpected input' clean that up.

Bug: N/A
Change-Id: I5b24325abe87b5ea6a94768ba144e5ff83338a9e
GitOrigin-RevId: 61dff9b1346a76c965f52217288acf2ca3f8dc06
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Sep 13, 2024
1 parent a7e73d1 commit f547b00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/roma/byob/udf/sample_udf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ int main(int argc, char* argv[]) {
}
break;
default:
std::cerr << "Unexpected input" << std::endl;
break;
}
WriteResponseToFd(fd, std::move(bin_response));
Expand Down
1 change: 0 additions & 1 deletion src/roma/byob/udf/sample_udf.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ func main() {
runEchoCallback(file)
}
default:
log.Println("Unexpected input")
return
}
writeResponseToFd(file, binResponse)
Expand Down

0 comments on commit f547b00

Please sign in to comment.