We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a273680 commit 78bf0e3Copy full SHA for 78bf0e3
cuteseal-remote-runner/main.cc
@@ -212,7 +212,7 @@ namespace {
212
pollDeadlineMs = -1;
213
} else {
214
// active DL
215
- int64_t nsLeft = getClockNs() - bestmoveDeadlineNs;
+ int64_t nsLeft = bestmoveDeadlineNs - getClockNs();
216
if (nsLeft < 0) {
217
pollDeadlineMs = 0; // one more try, but no wait
218
@@ -242,7 +242,7 @@ namespace {
242
}
243
244
245
- // we'll also send this to the engine
+ // we'll also send the line to the engine
246
fputs(line, toChild);
247
fputc('\n', toChild);
248
fflush(toChild);
0 commit comments