hcloud-upload-image/cmd
Julian Tölle e490b9a7f3
fix: timeout while waiting for SSH to become available (#92)
In #68 I reduced the general limits for the back off, 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 deprecated, to be removed in a later release.
2025-05-09 16:15:07 +02:00
..
cleanup.go docs: add generated CLI help output to repo (#46) 2024-11-02 21:57:53 +01:00
root.go fix: timeout while waiting for SSH to become available (#92) 2025-05-09 16:15:07 +02:00
upload.go feat: upload qcow2 images (#69) 2025-05-04 00:28:11 +02:00
upload.md feat: upload qcow2 images (#69) 2025-05-04 00:28:11 +02:00