1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Change default number of sacks
By default, 128 is a way too small, and that can create issues with the
Ceph storage. Let's make it 32768 by default.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-11-13
--- gnocchi-4.6.4.orig/gnocchi/cli/manage.py
+++ gnocchi-4.6.4/gnocchi/cli/manage.py
@@ -49,7 +49,7 @@ _SACK_NUMBER_OPT = cfg.IntOpt(
def upgrade():
conf = cfg.ConfigOpts()
sack_number_opt = copy.copy(_SACK_NUMBER_OPT)
- sack_number_opt.default = 128
+ sack_number_opt.default = 32768
conf.register_cli_opts([
cfg.BoolOpt("skip-index", default=False,
help="Skip index upgrade."),
|