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

fly pg backup list/restore failed with deadline_exceeded sometimes #4194 #271

Open
kubosuke opened this issue Jan 31, 2025 · 0 comments
Open

Comments

@kubosuke
Copy link

as I wrote here:
superfly/flyctl#4194

fly pg backup list and fly pg backup restore failed sometimes, possibly because of the timeout value that is defined at here is too tight:

ctx, cancel := context.WithTimeout(cmd.Context(), 10*time.Second)

when I exec barman-cloud-backup-list it took 144sec, it'd be nice if we could increase / speicfy timeout value from CLI

root@2871961a5dd468:/# start_time=$(date +%s)
root@2871961a5dd468:/# barman-cloud-backup-list --cloud-provider aws-s3 --endpoint-url https://fly.storage.tigris.dev --profile barman s3://*** *** > /dev/null
root@2871961a5dd468:/# end_time=$(date +%s)
root@2871961a5dd468:/# echo "Time taken: $((end_time - start_time)) seconds"
Time taken: 144 seconds
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

No branches or pull requests

1 participant