File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/edge/infra/client/manager/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ services:
211
211
- RIVET_SERVICE_NAME=rivet-client
212
212
- RIVET_OTEL_ENDPOINT=http://otel-collector:4317
213
213
- RUST_LOG=debug,hyper=info
214
+ - __HACK__DISABLE_FETCH_IMAGE_SIZE=1
214
215
stop_grace_period : 0s
215
216
depends_on :
216
217
# HACK: rivet-server dependency since we need to do a DNS lookup in entrypoint.sh for the iptables chain
Original file line number Diff line number Diff line change @@ -573,6 +573,11 @@ impl ImageDownloadHandler {
573
573
ctx : & Ctx ,
574
574
image_config : & protocol:: Image ,
575
575
) -> Result < u64 > {
576
+ // HEAD does not work if not using ATS
577
+ if std:: env:: var ( "__HACK__DISABLE_FETCH_IMAGE_SIZE" ) . map_or ( false , |x| x == "1" ) {
578
+ return Ok ( 0 ) ;
579
+ }
580
+
576
581
let addresses = self . get_image_addresses ( ctx, image_config) . await ?;
577
582
578
583
let mut iter = addresses. into_iter ( ) ;
You can’t perform that action at this time.
0 commit comments