Skip to content

Commit 05a2f39

Browse files
authored
fix: Update signed upload url default expiration to match prod (#4180)
2 parents 889c321 + 7c9df87 commit 05a2f39

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

internal/db/start/start.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ func initStorageJob(host string) utils.DockerJob {
317317
// TODO: https://github.com/supabase/storage-api/issues/55
318318
"REGION=stub",
319319
"GLOBAL_S3_BUCKET=stub",
320-
"SIGNED_UPLOAD_URL_EXPIRATION_TIME=7200",
321320
},
322321
Cmd: []string{"node", "dist/scripts/migrate-call.js"},
323322
}

internal/start/start.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ EOF
899899
"S3_PROTOCOL_PREFIX=/storage/v1",
900900
"UPLOAD_FILE_SIZE_LIMIT=52428800000",
901901
"UPLOAD_FILE_SIZE_LIMIT_STANDARD=5242880000",
902+
"SIGNED_UPLOAD_URL_EXPIRATION_TIME=7200",
902903
},
903904
Healthcheck: &container.HealthConfig{
904905
// For some reason, localhost resolves to IPv6 address on GitPod which breaks healthcheck.

0 commit comments

Comments
 (0)