Skip to content

Commit

Permalink
Fix location of upper and mount directories in the worker's cache dir…
Browse files Browse the repository at this point in the history
…ectory.
  • Loading branch information
nfachan committed Oct 30, 2024
1 parent 4b5a080 commit 8781032
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/maelstrom-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,9 @@ fn start_dispatcher_task_common<
log_initial_cache_message_at_info: bool,
slots: Slots,
) -> Result<JoinHandle<Error>> {
let cache_root = cache_root.join::<cache::CacheDir>("artifacts");

let (cache, temp_file_factory) = Cache::new(
StdFs,
cache_root.clone(),
cache_root.join::<cache::CacheDir>("artifacts"),
cache_size,
log.clone(),
log_initial_cache_message_at_info,
Expand Down

0 comments on commit 8781032

Please sign in to comment.