minor fixes relating to nonce overflows, size checks, etc.

This commit is contained in:
2026-05-25 12:22:33 +02:00
parent b64d9c4498
commit 60795c60d8
5 changed files with 38 additions and 6 deletions

View File

@@ -213,8 +213,8 @@ static bool runCommand(const std::vector<std::string>& args) {
pfd.fd = mFd;
pfd.events = POLLIN;
// timeout in ms; keep it small so shutdown is responsive
int ret = poll(&pfd, 1, 200);
// timeout in ms; keep it small so shutdown is responsive. Reduced for lower latency.
int ret = poll(&pfd, 1, 50);
if (ret == 0) {
// No data yet