Skip to content
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

Merged
merged 7 commits into from
Jan 17, 2018

Conversation

lampkin-diet
Copy link

Signed-off-by: Andrew Nikitin [email protected]

@ashcherbakov
Copy link
Contributor

test this please

Andrew Nikitin added 2 commits January 16, 2018 11:26
…ain ledger for test purpose

Signed-off-by: Andrew Nikitin <[email protected]>
@lampkin-diet
Copy link
Author

test this please

Andrew Nikitin added 2 commits January 16, 2018 11:46
return node_name, node_port, node_clieint_port


def sdk_reqToTxn(sdk_req, cons_time=None):
Copy link
Contributor

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?

config = getConfig()


def sdk_reqToTxn(sdk_req, cons_time=None):
Copy link
Contributor

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
Copy link
Contributor

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?

@lampkin-diet
Copy link
Author

test this please

@ashcherbakov ashcherbakov merged commit d49cb4b into hyperledger:master Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants