← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ilasc/launchpad:add-repack-thresholds into launchpad:master

 

Ioana Lasc has proposed merging ~ilasc/launchpad:add-repack-thresholds into launchpad:master.

Commit message:
Add git repository repack thresholds

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/398119
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/launchpad:add-repack-thresholds into launchpad:master.
diff --git a/configs/development/launchpad-lazr.conf b/configs/development/launchpad-lazr.conf
index ee141fb..7932439 100644
--- a/configs/development/launchpad-lazr.conf
+++ b/configs/development/launchpad-lazr.conf
@@ -105,6 +105,8 @@ summary_list_size: 5
 max_bug_feed_cache_minutes: 30
 bzr_imports_root_url: file:///tmp/bazaar-branches
 feature_flags_endpoint: http://xmlrpc-private.launchpad.test:8087/featureflags/
+loose_objects_threshold: 4350
+packs_threshold: 30
 
 [launchpad_session]
 cookie: launchpad_dev
diff --git a/lib/lp/services/config/schema-lazr.conf b/lib/lp/services/config/schema-lazr.conf
index 3a61db5..93bd794 100644
--- a/lib/lp/services/config/schema-lazr.conf
+++ b/lib/lp/services/config/schema-lazr.conf
@@ -1113,6 +1113,10 @@ min_legitimate_account_age: 0
 # reasonable size (64 characters) is ok.
 internal_macaroon_secret_key: none
 
+# Git repository repack thresholds.
+loose_objects_threshold: 4350
+packs_threshold: 30
+
 [launchpad_session]
 # The database connection string.
 # datatype: pgconnection