Skip to content

Download image when building website may be slow #6641

@tisonkun

Description

@tisonkun

const response = await fetch(imageUrl, {
signal: controller.signal,
headers: {
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
Accept: "image/webp,image/apng,image/*,*/*;q=0.8",
},
redirect: "follow",
});

https://github.com/apache/opendal/actions/runs/18396491657/job/52417545045?pr=6640

It takes several minutes to download. Typically, it should be a few seconds.

cc @kingsword09 @Xuanwo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions