Skip to content

Commit

Permalink
background_jobs: Simplify index field
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Oct 31, 2023
1 parent 3436e08 commit 81cb54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/background_jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ pub struct RenderAndUploadReadmeJob {
}

pub struct Environment {
index: Arc<Mutex<Repository>>,
index: Mutex<Repository>,
http_client: AssertUnwindSafe<Client>,
cloudfront: Option<CloudFront>,
fastly: Option<Fastly>,
Expand All @@ -333,7 +333,7 @@ impl Environment {
storage: Arc<Storage>,
) -> Self {
Self {
index: Arc::new(Mutex::new(index)),
index: Mutex::new(index),
http_client: AssertUnwindSafe(http_client),
cloudfront,
fastly,
Expand Down

0 comments on commit 81cb54b

Please sign in to comment.