Skip to content

Commit

Permalink
chore: increased timeout to max (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhuushmgl authored and leahecole committed Sep 15, 2023
1 parent 936a9da commit e109400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion videointelligence/samples/analyze/beta_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def stream_generator():
# The default timeout is about 300 seconds.
# To process longer videos it should be set to
# larger than the length (in seconds) of the stream.
responses = client.streaming_annotate_video(requests, timeout=600)
responses = client.streaming_annotate_video(requests, timeout=900)

# Each response corresponds to about 1 second of video.
for response in responses:
Expand Down

0 comments on commit e109400

Please sign in to comment.