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

final TSS changes #74

Merged
merged 3 commits into from
Nov 13, 2024
Merged

final TSS changes #74

merged 3 commits into from
Nov 13, 2024

Conversation

gouthamp-stellar
Copy link
Contributor

@gouthamp-stellar gouthamp-stellar commented Nov 12, 2024

What

final TSS changes made after TSS testing

Why

final TSS changes made after TSS testing

Known limitations

N/A

Issue that this PR addresses

[TODO: Attach the link to the GitHub issue or task. Include the priority of the task here in addition to the link.]

Checklist

PR Structure

  • It is not possible to break this PR down into smaller PRs.
  • This PR does not mix refactoring changes with feature changes.
  • This PR's title starts with name of package that is most changed in the PR, or all if the changes are broad or impact many packages.

Thoroughness

  • This PR adds tests for the new functionality or fixes.
  • All updated queries have been tested (refer to this check if the data set returned by the updated query is expected to be same as the original one).

Release

  • This is not a breaking change.
  • This is ready to be tested in development.
  • The new functionality is gated with a feature flag if this is not ready for production.

@@ -33,7 +33,7 @@ func ErrorHandlerJitterChannelBufferSizeOption(configKey *int) *config.ConfigOpt
Usage: "Set the buffer size of the Error Handler Jitter channel.",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 100,
FlagDefault: 1000,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way in which we determined these values? Or are they just a random default value right now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not completely random. It's based on the number of the expected TSS transaction submission requests at peak load. So peak QPS in a sense. This buffer size is the maximum number of tasks that this go routine pool can handle at any given time

@gouthamp-stellar gouthamp-stellar merged commit 1ae6bf4 into main Nov 13, 2024
5 checks passed
@gouthamp-stellar gouthamp-stellar deleted the tss_testing branch November 13, 2024 18:15
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