Skip to content

Commit ab2ff68

Browse files
authored
Config file changes (#3349)
Remove some obsolete config settings from the default and canned config files.
1 parent 761445c commit ab2ff68

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

server/lib/config/pbench-server-default.cfg

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,11 @@ mailfrom=%(user)s@localhost
2929
# Token expiration duration in minutes, can be overridden in the main config file, defaults to 60 mins
3030
token_expiration_duration = 60
3131

32-
# Maximum number of days an unpacked tar ball directory hierarchy will be
33-
# kept around.
34-
max-unpacked-age = 30
35-
3632
# Server settings for dataset retention in days; the default can be overridden
3733
# by user metadata, bounded by the server maximum.
3834
maximum-dataset-retention-days = 3650
3935
default-dataset-retention-days = 730
4036

41-
# See pbench-server-setup documentation for filesystem setup.
42-
4337
# WARNING - the pbench-server.cfg file should provide a definition of
4438
# pbench-top-dir, e.g.:
4539
# pbench-top-dir = /srv/pbench
@@ -70,11 +64,6 @@ workers = 3
7064
# Set the gunicorn worker timeout. Setting it to 0 has the effect of infinite timeouts
7165
worker_timeout = 9000
7266

73-
# WARNING - the pbench-server.cfg file should provide a definition of
74-
# pbench-backup-dir, e.g.:
75-
# pbench-backup-dir = %(pbench-local-dir)s/archive.backup
76-
# We won't define it here by default to avoid unintended behaviors.
77-
7867
# Default roles this pbench server takes on, see crontab roles below.
7968
roles = pbench-results
8069

server/pbenchinacan/etc/pbench-server/pbench-server.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ install-dir = /opt/pbench-server
77
###########################################################################
88
[pbench-server]
99
pbench-top-dir = /srv/pbench
10-
pbench-backup-dir = %(pbench-top-dir)s/pbench.archive.backup
1110
environment = container
1211
realhost = pbenchinacan
13-
max-unpacked-age = 36500
1412
maximum-dataset-retention-days = 36500
1513
default-dataset-retention-days = 730
16-
roles = pbench-results, pbench-backup
14+
roles = pbench-results
1715

1816
[Indexing]
1917
index_prefix = container-pbench

0 commit comments

Comments
 (0)