Skip to content

Commit 22aca8f

Browse files
Restrict repack to one thread
1 parent fbafe7c commit 22aca8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/housekeeping.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ pub fn run(repo_path: &std::path::Path, do_gc: bool) -> JoshResult<()> {
269269
if do_gc {
270270
info!(
271271
"\n----------\n{}\n----------",
272-
run_command(&transaction.repo().path(), &"git repack -adkbn")
272+
run_command(
273+
&transaction.repo().path(),
274+
&"git repack -adkbn --threads=1"
275+
)
273276
);
274277
info!(
275278
"\n----------\n{}\n----------",

0 commit comments

Comments
 (0)