We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0241437 commit 60a269aCopy full SHA for 60a269a
tune.py
@@ -63,7 +63,7 @@ def main(
63
64
# Estimate the wal_max_size based on the recovery time allowed.
65
if int(tune_config.required_recovery_time_second) != 0 \
66
- and (tune_config.benchmark == 'pgbench' or tune_config.benchmark == 'oltpbench'):
+ and (tune_config.benchmark in ['my_workload', 'pgbench', 'oltpbench']):
67
logger.info('Start to estimate the wal_max_size and checkpoint_timeout parameter. \n'
68
'required_recovery_time_second = "{}s"'.format(tune_config.required_recovery_time_second))
69
recovery = Recovery(postgres_server_config,
0 commit comments