Skip to content

Commit

Permalink
Merge pull request #113 from zalando/feature/parallel_wale
Browse files Browse the repository at this point in the history
Make sure WAL-E ships multiple files at a time.
  • Loading branch information
Oleksii Kliukin committed Dec 13, 2016
2 parents a343b43 + 4af3074 commit 6778a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres-appliance/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def deep_update(a, b):
autovacuum_analyze_scale_factor: 0.02
{{#USE_WALE}}
recovery_conf:
restore_command: envdir "{{WALE_ENV_DIR}}" wal-e --aws-instance-profile wal-fetch "%f" "%p" -p 1
restore_command: envdir "{{WALE_ENV_DIR}}" wal-e --aws-instance-profile wal-fetch "%f" "%p"
{{/USE_WALE}}
initdb:
- encoding: UTF8
Expand Down Expand Up @@ -297,7 +297,7 @@ def get_placeholders(provider):
placeholders.setdefault('postgresql', {})
placeholders['postgresql'].setdefault('parameters', {})
placeholders['postgresql']['parameters']['archive_command'] = \
'envdir "{0}" wal-e --aws-instance-profile wal-push "%p" -p 1'.format(placeholders['WALE_ENV_DIR']) \
'envdir "{0}" wal-e --aws-instance-profile wal-push "%p"'.format(placeholders['WALE_ENV_DIR']) \
if placeholders['USE_WALE'] else '/bin/true'

os_memory_mb = os.sysconf('SC_PAGE_SIZE') * os.sysconf('SC_PHYS_PAGES') / 1024 / 1024
Expand Down

0 comments on commit 6778a94

Please sign in to comment.