aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-07 17:24:26 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-07 17:24:26 +0200
commita1d2c5841568f2312ae18276c0c8b9517deea78b (patch)
tree70b6e5262ea6de1e569a5847ccbb861014c341b8 /src/main.rs
parent35096ba8d4b064cb0565e202103af91308dcafcc (diff)
downloadweareearth-a1d2c5841568f2312ae18276c0c8b9517deea78b.tar
weareearth-a1d2c5841568f2312ae18276c0c8b9517deea78b.tar.bz2
weareearth-a1d2c5841568f2312ae18276c0c8b9517deea78b.tar.zst
async caching
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index bb80311..e9ae4c2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -56,7 +56,7 @@ async fn main() -> Result<()> {
let epoch = entry.root_node_metadata.unwrap().bulk_metadata_epoch();
cache_all(
Arc::new(c),
- Arc::new(Semaphore::new(64)),
+ Arc::new(Semaphore::new(args.par_limit * 3 / 2)),
"".to_string(),
epoch,
level,