Skip to content

Commit

Permalink
Config file changes (#3349)
Browse files Browse the repository at this point in the history
Remove some obsolete config settings from the default and canned config files.
  • Loading branch information
dbutenhof authored Mar 16, 2023
1 parent 761445c commit ab2ff68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
11 changes: 0 additions & 11 deletions server/lib/config/pbench-server-default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,11 @@ mailfrom=%(user)s@localhost
# Token expiration duration in minutes, can be overridden in the main config file, defaults to 60 mins
token_expiration_duration = 60

# Maximum number of days an unpacked tar ball directory hierarchy will be
# kept around.
max-unpacked-age = 30

# Server settings for dataset retention in days; the default can be overridden
# by user metadata, bounded by the server maximum.
maximum-dataset-retention-days = 3650
default-dataset-retention-days = 730

# See pbench-server-setup documentation for filesystem setup.

# WARNING - the pbench-server.cfg file should provide a definition of
# pbench-top-dir, e.g.:
# pbench-top-dir = /srv/pbench
Expand Down Expand Up @@ -70,11 +64,6 @@ workers = 3
# Set the gunicorn worker timeout. Setting it to 0 has the effect of infinite timeouts
worker_timeout = 9000

# WARNING - the pbench-server.cfg file should provide a definition of
# pbench-backup-dir, e.g.:
# pbench-backup-dir = %(pbench-local-dir)s/archive.backup
# We won't define it here by default to avoid unintended behaviors.

# Default roles this pbench server takes on, see crontab roles below.
roles = pbench-results

Expand Down
4 changes: 1 addition & 3 deletions server/pbenchinacan/etc/pbench-server/pbench-server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ install-dir = /opt/pbench-server
###########################################################################
[pbench-server]
pbench-top-dir = /srv/pbench
pbench-backup-dir = %(pbench-top-dir)s/pbench.archive.backup
environment = container
realhost = pbenchinacan
max-unpacked-age = 36500
maximum-dataset-retention-days = 36500
default-dataset-retention-days = 730
roles = pbench-results, pbench-backup
roles = pbench-results

[Indexing]
index_prefix = container-pbench
Expand Down

0 comments on commit ab2ff68

Please sign in to comment.