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

feat: add TX_SUBMISSION_DELAY to cluster scripts #2632

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

mkoura
Copy link
Collaborator

@mkoura mkoura commented Sep 19, 2024

Node now delays initial request for transactions from a client to conserve network resources in case he disconnects relatively quickly for reasons in the referenced issue.

  • Introduced TX_SUBMISSION_DELAY variable
  • Updated start-cluster scripts to use TX_SUBMISSION_DELAY instead of hardcoded sleep values.
  • Modified test_kes.py and test_reconnect.py to pass delay parameter when restarting nodes.
  • Updated cluster_nodes.py to accept delay parameter for node restart functions.
  • Added TX_SUBMISSION_DELAY to configuration.py with a default value of 60 seconds.

Node now delays initial request for transactions from a client to conserve network resources in case he disconnects relatively quickly for reasons in the referenced issue.

- Introduced TX_SUBMISSION_DELAY variable
- Updated start-cluster scripts to use TX_SUBMISSION_DELAY instead of
  hardcoded sleep values.
- Modified test_kes.py and test_reconnect.py to pass delay parameter
  when restarting nodes.
- Updated cluster_nodes.py to accept delay parameter for node restart
  functions.
- Added TX_SUBMISSION_DELAY to configuration.py with a default value of
  60 seconds.
@mkoura mkoura merged commit 510f445 into master Sep 19, 2024
3 checks passed
@mkoura mkoura deleted the tx_submission_delay branch September 19, 2024 12:28
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.

1 participant