Skip to content

Commit

Permalink
increase timeout period for mgmt api job
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 committed Oct 26, 2024
1 parent 71c92e3 commit 837d109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/latest/spdk-csi/templates/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ data:
return []
def activate_cluster_if_needed(cluster_ip, cluster_uuid, cluster_secret, distr_ndcs, distr_npcs):
retries = 60
total_value = distr_ndcs + distr_npcs + 1
retries = total_value * 30
while retries > 0:
node_statuses = get_node_statuses(cluster_ip, cluster_uuid, cluster_secret)
online_nodes = [node for node in node_statuses if node.get('status') == 'online']
Expand Down

0 comments on commit 837d109

Please sign in to comment.