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

Add a new primary_checkpoint_timeout configuration option #831

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

gcalacoci
Copy link
Contributor

If primary_conninfo is set, is possible to add for a server a primary_checkpoint_timeout option, which is the maximum time (in seconds) for Barman to wait for a new WAL file to be produced before forcing the execution of a checkpoint on the primary.

If `primary_conninfo` is set, is possible to add for a server a
`primary_checkpoint_timeout` option, which is the maximum time (in seconds)
for Barman to wait for a new WAL file to be produced
before forcing the execution of a checkpoint on the primary.

Signed-off-by: Giulio Calacoci <[email protected]>
@edb-sonar-app
Copy link

edb-sonar-app bot commented Jul 31, 2023

try:
# Always check if the queue is empty, so we know to stop
# before the checkpoint execution
if done_q.get(timeout=wait):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@gcalacoci gcalacoci merged commit 0a49465 into master Aug 22, 2023
9 checks passed
@gcalacoci gcalacoci deleted the dev/bar-12 branch August 22, 2023 08:34
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.

3 participants