Skip to content

Raise Git GC (Housekeeping) Lease Timeout to 24h

Kim Carlbäcker requested to merge git-gc-raise-lease-timeotu into master

What does this MR do?

Raises the LeaseTimeout to 24 hours for calls to git repack and git gc.

Why was this MR needed?

GitRepackIncremental running amock on

The alternatives we had was

  1. timeout on the calls themself
  • would lead to repos that never are repacked/gc'd making git clone run amok instead. (much worse, since that's called more often than housekeeping)
  1. raise the lease timeout.
  • might leave repos in need of a repack unrepacked for 24h instead of the current 1h.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Kim Carlbäcker

Merge request reports