Skip to content

Commit

Permalink
IS 495 make catchup timeout configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jan 2, 2025
1 parent 6cd469a commit 68d6613
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions node/Node.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,14 @@ class Node {
uint64_t getMaxTransactionsPerBlock() const;

uint64_t getMinBlockIntervalMs() const;

uint64_t getCatchupTimeoutMs() const;

uint64_t getSyncNodeCatchupTimeoutMs() const;

uint64_t getReadJsonHeaderTimeoutMs() const;

uint64_t getSyncNodeReadJsonHeaderTimeoutMs() const;

uint64_t getWaitAfterNetworkErrorMs();

Expand Down
8 changes: 4 additions & 4 deletions node/NodeGettersSetters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,18 +430,18 @@ void Node::setExitOnBlockBoundaryRequested() {
exitOnBlockBoundaryRequested = true;
}

void Node::getCatchupTimeoutMs() const {
uint64_t Node::getCatchupTimeoutMs() const {
return catchupTimeoutMs;
}

void Node::getSyncNodeCatchupTimeoutMs() const {
uint64_t Node::getSyncNodeCatchupTimeoutMs() const {
return syncNodeCatchupTimeoutMs;
}

void Node::getReadJsonHeaderTimeoutMs() const {
uint64_t Node::getReadJsonHeaderTimeoutMs() const {
return readJsonHeaderTimeoutMs;
}

void Node::getSyncNodeReadJsonHeaderTimeoutMs() const {
uint64_t Node::getSyncNodeReadJsonHeaderTimeoutMs() const {
return syncNodeReadJsonHeaderTimeoutMs;
}

0 comments on commit 68d6613

Please sign in to comment.