Skip to content

Commit

Permalink
Undo task timeout 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 9, 2023
1 parent b113c17 commit 5ba02d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions cerulean_cloud/cloud_function_ais_analysis/queuer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def add_to_aaa_queue(scene_id):
task["schedule_time"] = timestamp

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

print("Created task {}".format(response.name))
return response
4 changes: 1 addition & 3 deletions cerulean_cloud/cloud_function_scene_relevancy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ def handler_queue(filtered_scenes, trigger_id):
task["http_request"]["body"] = converted_payload

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

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

0 comments on commit 5ba02d7

Please sign in to comment.