Skip to content

Commit

Permalink
Getting error "The request deadline is 2023-11-08T20:10:56.7528768672…
Browse files Browse the repository at this point in the history
…5-08:00. The deadline cannot be more than 30s in the future."

Maybe that is a typo, and it meant to say 30m?
and if so, then trying to set it to 29m in the future instead of exactly 30,
  • Loading branch information
jonaraphael committed Nov 9, 2023
1 parent cd74446 commit b113c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cerulean_cloud/cloud_function_ais_analysis/queuer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def add_to_aaa_queue(scene_id):

# Use the client to build and send the task.
response = client.create_task(
request={"parent": parent, "task": task}, timeout=1800
request={"parent": parent, "task": task}, timeout=1740
)

print("Created task {}".format(response.name))
Expand Down
2 changes: 1 addition & 1 deletion cerulean_cloud/cloud_function_scene_relevancy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def handler_queue(filtered_scenes, trigger_id):

# Use the client to build and send the task.
response = client.create_task(
request={"parent": parent, "task": task}, timeout=1800
request={"parent": parent, "task": task}, timeout=1740
)

print("Created task {}".format(response.name))

0 comments on commit b113c17

Please sign in to comment.