From 92152969c58437a8ddff9ae31e5529e86eb97d8e Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Thu, 1 Feb 2018 16:04:11 +1100 Subject: [PATCH] [infra] Update upload URL timeout to be the same as build timeout (#1112) --- infra/gcb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/gcb/build.py b/infra/gcb/build.py index a25dcf592..48bb11799 100755 --- a/infra/gcb/build.py +++ b/infra/gcb/build.py @@ -75,7 +75,7 @@ def load_project_yaml(project_dir): def get_signed_url(path): - timestamp = int(time.time() + 60 * 60 * 5) + timestamp = int(time.time() + BUILD_TIMEOUT) blob = 'PUT\n\n\n{0}\n{1}'.format( timestamp, path)