Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Dec 7, 2023
1 parent 23781b8 commit 272e848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlimFaas/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
replicasService?.SyncDeploymentsAsync(namespace_).Wait();
}

while (!slimDataAllowColdStart || replicasService?.Deployments.SlimFaas.Pods.Count(p => !string.IsNullOrEmpty(p.Ip)) < 2)
while (!slimDataAllowColdStart && replicasService?.Deployments.SlimFaas.Pods.Count(p => !string.IsNullOrEmpty(p.Ip)) < 2)
{
Console.WriteLine("Waiting for at least 2 pods to be ready");
Thread.Sleep(1000);
Expand Down

0 comments on commit 272e848

Please sign in to comment.