-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INDY-1029] Change timeout for getting cathup replies #499
[INDY-1029] Change timeout for getting cathup replies #499
Conversation
Signed-off-by: Andrew Nikitin <[email protected]>
test this please |
…ain ledger for test purpose Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
test this please |
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
6a239bd
to
b8072a6
Compare
Signed-off-by: Andrew Nikitin <[email protected]>
scripts/add_json_txns_to_ledger.py
Outdated
return node_name, node_port, node_clieint_port | ||
|
||
|
||
def sdk_reqToTxn(sdk_req, cons_time=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we duplicate it?
scripts/generate_txns.py
Outdated
config = getConfig() | ||
|
||
|
||
def sdk_reqToTxn(sdk_req, cons_time=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we duplicate it?
# 0.2 sec for getAllTxn for 10 000 txn) | ||
# Therefore, node communication is the most cost operation | ||
# Timeout for pool catchuping would be nodeCount * CatchupTransactionsTimeout | ||
CatchupTransactionsTimeout = 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it just 6 seconds?
Signed-off-by: Andrew Nikitin <[email protected]>
test this please |
Signed-off-by: Andrew Nikitin [email protected]