-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add the ability to specify the buffer size. #186
base: master
Are you sure you want to change the base?
Conversation
Thanks for the comments, it definitely didn't make sense not to propagate it... Now I forward it everywhere, so this PR should be good to go I hope :) (I still have an open question on the old one, I still don't really understand what the drawback/risk of increasing the default size is, to be honest. But as you want.) |
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.
Looks good as far as I can tell
host: str, | ||
port: int, | ||
resource: str, | ||
*, | ||
use_ssl: Union[bool, ssl.SSLContext], | ||
subprotocols: Optional[Iterable[str]] = None, | ||
extra_headers: Optional[list[tuple[bytes,bytes]]] = None, | ||
message_queue_size: int = MESSAGE_QUEUE_SIZE, | ||
max_message_size: int = MAX_MESSAGE_SIZE, | ||
receive_buffer_size: int = RECEIVE_BYTES, | ||
connect_timeout: float = CONN_TIMEOUT, | ||
disconnect_timeout: float = CONN_TIMEOUT | ||
): |
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.
I'd prefer to avoid the reformatting in this PR
See this PR for context: #185