Sub-second resolution for repodata.json cache #13783
Labels
source::contributor
created by a frequent contributor
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
In
conda.testing.solver_helpers.SolverTests.test_nonexistent_deps
, the local repodata jsons are updated very quickly, sometimes under one second.Since the repodata state uses HTTP timestamps, which are tied to HH:MM:SS resolution, we will miss sub-second updates. It looks like we could set the
etag
to allow sub-second updates.Conda Info
Conda Config
Conda list
Additional Context
Discovered at conda/conda-libmamba-solver#457. For now I'm adding a one-second sleep before the repodata is updated as a workaround, but this might be important for fast changing channels.
The text was updated successfully, but these errors were encountered: