From 87810320d21149572a8f1b3fa9445288f31238a6 Mon Sep 17 00:00:00 2001 From: Neal Fachan Date: Wed, 30 Oct 2024 13:26:04 -0700 Subject: [PATCH] Fix location of upper and mount directories in the worker's cache directory. --- crates/maelstrom-worker/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/maelstrom-worker/src/lib.rs b/crates/maelstrom-worker/src/lib.rs index 4a5cc118..72fb5a3f 100644 --- a/crates/maelstrom-worker/src/lib.rs +++ b/crates/maelstrom-worker/src/lib.rs @@ -221,11 +221,9 @@ fn start_dispatcher_task_common< log_initial_cache_message_at_info: bool, slots: Slots, ) -> Result> { - let cache_root = cache_root.join::("artifacts"); - let (cache, temp_file_factory) = Cache::new( StdFs, - cache_root.clone(), + cache_root.join::("artifacts"), cache_size, log.clone(), log_initial_cache_message_at_info,