From e2224844019d58fc947ce00e18e9fa9974d2c8b5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 May 2016 13:33:05 +0200 Subject: Re-implement the WantMassQuery property of binary caches --- src/libstore/binary-cache-store.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libstore/binary-cache-store.hh') diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index bb67a8581a36..c14ab8676a9c 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -33,6 +33,9 @@ protected: doesn't exist. */ virtual std::shared_ptr getFile(const std::string & path) = 0; + bool wantMassQuery_ = false; + int priority = 50; + public: virtual void init(); @@ -78,6 +81,8 @@ public: SubstitutablePathInfos & infos) { } + bool wantMassQuery() { return wantMassQuery_; } + void addToStore(const ValidPathInfo & info, const std::string & nar, bool repair = false) override; -- cgit 1.4.1