diff --git a/cerulean_cloud/cloud_function_ais_analysis/queuer.py b/cerulean_cloud/cloud_function_ais_analysis/queuer.py index eb3991d5..392c0185 100644 --- a/cerulean_cloud/cloud_function_ais_analysis/queuer.py +++ b/cerulean_cloud/cloud_function_ais_analysis/queuer.py @@ -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 diff --git a/cerulean_cloud/cloud_function_scene_relevancy/main.py b/cerulean_cloud/cloud_function_scene_relevancy/main.py index e5c4c082..f90d7916 100644 --- a/cerulean_cloud/cloud_function_scene_relevancy/main.py +++ b/cerulean_cloud/cloud_function_scene_relevancy/main.py @@ -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))