improve concurrency control; use nar_size from cpathinfo
This commit is contained in:
parent
ca97aebd7a
commit
e5336d304d
6 changed files with 33 additions and 8 deletions
|
@ -69,11 +69,13 @@ impl Store {
|
|||
.map(|x| StorePath::from_bytes(x.as_bytes()))
|
||||
.collect::<Result<_, _>>()
|
||||
.context("get references from pathinfo")?;
|
||||
let nar_size = c_path_info.pin_mut().nar_size();
|
||||
|
||||
Ok(PathInfo {
|
||||
path,
|
||||
signatures,
|
||||
references,
|
||||
nar_size,
|
||||
})
|
||||
})
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue