Skip to content

Speech: Increase speech max received msg size to 256 MiB - #8338

Merged
plamut merged 1 commit into
googleapis:masterfrom
plamut:iss-5819
Jun 17, 2019
Merged

Speech: Increase speech max received msg size to 256 MiB#8338
plamut merged 1 commit into
googleapis:masterfrom
plamut:iss-5819

Conversation

@plamut

@plamut plamut commented Jun 14, 2019

Copy link
Copy Markdown
Contributor

Closes #5819

This PR increases the default max received message size for speech messages to 256 MiB.

Hardcoded, indeed, but that setting was already not directly available to end users (a full SpeechGrpcTransport needs to be passed instead). This PR does not address this aspect.

How to test

  • Install the synthtool,
  • Revert the changes in transports/speech_grpc_transport.py,
  • Got to the speech library directory and run the synthtool.

Expected result:

  • The generated code changes in transports/speech_grpc_transport.py are the same as those submitted with this PR.
  • The problem described in the issue description is also resolved, because the old 4 MiB max message size is now much higher.

@plamut plamut added the api: speech Issues related to the Speech-to-Text API. label Jun 14, 2019
@plamut
plamut requested a review from busunkim96 as a code owner June 14, 2019 14:17
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 14, 2019
@busunkim96

Copy link
Copy Markdown
Contributor

CC @lukesneeringer Is there a way we can get the library to generate with the higher message size? It feels a bit weird to have this be our permanent fix.

@plamut

plamut commented Jun 17, 2019

Copy link
Copy Markdown
Contributor Author

Re-ran with the latest synthtool and rebased onto the latest master to fix the merge conflict.

@plamut
plamut merged commit 9996587 into googleapis:master Jun 17, 2019
@plamut
plamut deleted the iss-5819 branch June 17, 2019 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Speech: v1p1beta1 with diarization, 429 Received message larger than max

3 participants