Skip to content

Commit

Permalink
chore: increased designed timeout by 1 minute (#110)
Browse files Browse the repository at this point in the history
Fixes #108  🦕

I ran 418 times to repro this error but Instead I got DeadlineExceeded exception.
Then, on the second attempt, I ran 78 times to repro this error.

this error occurs very randomly, I am not sure if its some kind of backend timeout or throttling.

First attempt to fix this --> increasing timeout 
If this won't work, i will increase it to 4 min.
 If that doesn't work, I will raise this issue as P1.
  • Loading branch information
munkhuushmgl authored and leahecole committed Sep 15, 2023
1 parent 8d7fc7d commit 5aa40e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion videointelligence/samples/quickstart/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run_quickstart():
)
print("\nProcessing video for label annotations:")

result = operation.result(timeout=120)
result = operation.result(timeout=180)
print("\nFinished processing.")

# first result is retrieved because a single video was processed
Expand Down

0 comments on commit 5aa40e3

Please sign in to comment.