fix: increase wait time for machine to 5 min, discard unknown when decoding json to proto

This commit is contained in:
Pavel Sviderski committed 2025-02-26 12:19:04 +10:00
1 parent 1046396edc
commit 5e9b883ad5
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ func add(ctx context.Context, uncli *cli.CLI, remoteMachine cli.RemoteMachine, o
func waitClusterInitialised(ctx context.Context, client *client.Client) error {
boff := backoff.WithContext(backoff.NewExponentialBackOff(
backoff.WithMaxInterval(1*time.Second),
backoff.WithMaxElapsedTime(30*time.Second),
backoff.WithMaxElapsedTime(5*time.Minute),
), ctx)
check := func() error {