Skip to content

Commit

Permalink
Merge pull request #14899 from y1chi/prebuild_timeout
Browse files Browse the repository at this point in the history
Minor fix to prebuilding sdk workflow timeout setting
  • Loading branch information
y1chi authored Jun 1, 2021
2 parents d40abe7 + 50e6249 commit b39ff90
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import uuid
from typing import Type

from google.protobuf.duration_pb2 import Duration
from google.protobuf.json_format import MessageToJson

from apache_beam import version as beam_version
Expand Down Expand Up @@ -259,7 +258,7 @@ def _invoke_docker_build_and_push(self, container_image_name):
source.storageSource.object = gcs_object
build.source = source
# TODO(zyichi): make timeout configurable
build.timeout = Duration().FromSeconds(seconds=7200)
build.timeout = '7200s'

now = time.time()
# operation = client.create_build(project_id=project_id, build=build)
Expand Down

0 comments on commit b39ff90

Please sign in to comment.