Skip to content

Commit 60a269a

Browse files
committed
fix tune.py.
1 parent 0241437 commit 60a269a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tune.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def main(
6363

6464
# Estimate the wal_max_size based on the recovery time allowed.
6565
if int(tune_config.required_recovery_time_second) != 0 \
66-
and (tune_config.benchmark == 'pgbench' or tune_config.benchmark == 'oltpbench'):
66+
and (tune_config.benchmark in ['my_workload', 'pgbench', 'oltpbench']):
6767
logger.info('Start to estimate the wal_max_size and checkpoint_timeout parameter. \n'
6868
'required_recovery_time_second = "{}s"'.format(tune_config.required_recovery_time_second))
6969
recovery = Recovery(postgres_server_config,

0 commit comments

Comments
 (0)