Skip to content

Commit

Permalink
Merge pull request #33164 from vespa-engine/revert-32376-hmusum/set-i…
Browse files Browse the repository at this point in the history
…nfinite-timeout

Revert "Set timeout for RPC call proton.prepareRestart to infinity"
  • Loading branch information
hmusum authored Jan 24, 2025
2 parents 881d595 + 002e0f4 commit 2c39cba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ LOG_SETUP("vespa-proton-cmd");

namespace pandora::rtc_cmd {

namespace {
const double NEVER(-1.0);
}

class App
{
private:
Expand Down Expand Up @@ -329,7 +325,7 @@ class App
}
} else if (strcmp(argv[2], "prepareRestart") == 0) {
_req->SetMethodName("proton.prepareRestart");
invokeRPC(false, NEVER);
invokeRPC(false, 600.0);
invoked = true;
if (! _req->IsError()) {
printf("OK: prepareRestart enabled\n");
Expand Down

0 comments on commit 2c39cba

Please sign in to comment.