mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
HttpBinaryCacheStore: Fix caching of WantMassQuery
Also, test HttpBinaryCacheStore in addition to LocalBinaryCacheStore.
This commit is contained in:
parent
7850d3d279
commit
cf198952d0
6 changed files with 60 additions and 39 deletions
|
@ -71,7 +71,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore
|
|||
|
||||
void init() override
|
||||
{
|
||||
if (!diskCache->cacheExists(getUri())) {
|
||||
if (!diskCache->cacheExists(getUri(), wantMassQuery_, priority)) {
|
||||
|
||||
/* Create the bucket if it doesn't already exists. */
|
||||
// FIXME: HeadBucket would be more appropriate, but doesn't return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue