Skip to content

Race condition between subset downloads #1181

@RickyDaMa

Description

@RickyDaMa

If the recipe for two fonts includes the addSubset operation and they both point to the same repo, there is no protection from downloading the zipball twice and then the code getting scared/confused when things already exist that shouldn't etc. as they both download & unpack simultaneously.

Maybe we should use a lockfile or something per repo that's being downloaded to avoid this? I can look into this potentially as I helped with a similar thing with youseedee in the past

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions