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

Expose session max size #220

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Expose session max size #220

merged 2 commits into from
Jun 26, 2024

Conversation

wizz-wallet-dev
Copy link
Collaborator

This would help to process large PSBTs (likely 10000+ UTXO combination with 2MB payload) without throws. The recommend value is <=4MB.

Comment on lines 112 to 113
self.session_max_size_http = self.integer("SESSION_MAX_SIZE_HTTP", 1024**2)
self.session_max_size_ws = self.integer("SESSION_MAX_SIZE_WS", 1024**2)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These are the implied default value.

@wizz-wallet-dev wizz-wallet-dev merged commit a75e397 into develop Jun 26, 2024
4 checks passed
@wizz-wallet-dev wizz-wallet-dev deleted the feat/ws-max-size branch June 26, 2024 06:46
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