Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with jija2 template interpolation #719

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

garry-t
Copy link
Contributor

@garry-t garry-t commented Aug 2, 2024

Avoid problem when jinja2 treats value 'on' as True. In result in pg config will be value True.

patroni[17197]: 2024-08-02 10:09:16,815 INFO: Changed archive_mode from 'on' to 'True' (restart might be required)
patroni[17197]: 2024-08-02 10:09:16,817 INFO: Changed synchronous_commit from 'on' to 'True'
patroni[17197]: 2024-08-02 10:09:16,818 INFO: Changed tcp_keepalives_count from '0' to '10'
patroni[17197]: 2024-08-02 10:09:16,818 INFO: Changed tcp_keepalives_idle from '0' to '300'
patroni[17197]: 2024-08-02 10:09:16,818 INFO: Changed tcp_keepalives_interval from '0' to '30'
patroni[17197]: 2024-08-02 10:09:16,818 INFO: Changed wal_compression from 'pglz' to 'True'

Avoid problem when jinja2 treats value 'on' as True. In result in pg config will be value True
@vitabaks vitabaks merged commit 05e360e into vitabaks:master Aug 2, 2024
16 checks passed
@garry-t garry-t deleted the fix-postregql-values branch August 2, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants