hcloud-upload-image/hcloudimages
Julian Tölle c1f086867d
fix: timeout while waiting for SSH to become available
In #68 I reduced the general limits for the backoff, thinking that it
would speed up the upload on average because it was retrying faster. But
because it was retrying faster, the 10 available retries were used up
before SSH became available.

The new 100 retries match the 3 minutes of total timeout that the
previous solution had, and should fix all issues.

In addition I discovered that my implementation in
`hcloudimages/backoff.ExponentialBackoffWithLimit` has a bug where the
calculated offset could overflow before the limit was applied, resulting
in negative durations. I did not fix the issue because `hcloud-go`
provides such a method natively nowadays. Instead I marked the method as
deprected, to be removed in a later release.
2025-05-09 15:55:08 +02:00
..
backoff fix: timeout while waiting for SSH to become available 2025-05-09 15:55:08 +02:00
contextlogger feat: documentation and cleanup command 2024-05-04 22:13:33 +02:00
internal fix: timeout while waiting for SSH to become available 2025-05-09 15:55:08 +02:00
CHANGELOG.md chore(main): release hcloudimages 1.0.0 (#78) 2025-05-04 02:30:16 +02:00
client.go fix: timeout while waiting for SSH to become available 2025-05-09 15:55:08 +02:00
client_test.go feat: documentation and cleanup command 2024-05-04 22:13:33 +02:00
doc.go feat: documentation and cleanup command 2024-05-04 22:13:33 +02:00
go.mod chore(deps): update module golang.org/x/crypto to v0.37.0 (#72) 2025-05-04 00:49:36 +02:00
go.sum chore(deps): update module golang.org/x/crypto to v0.37.0 (#72) 2025-05-04 00:49:36 +02:00