Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Dec 31, 2024
1 parent 9bb5228 commit a72b51d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/deployment-slimfaas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
serviceAccountName: slimfaas
containers:
- name: slimfaas
image: axaguildev/slimfaas:pr-77-862
image: axaguildev/slimfaas:pr-77-863
livenessProbe:
httpGet:
path: /health
Expand Down
2 changes: 1 addition & 1 deletion src/SlimFaas/EnvironmentVariables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class EnvironmentVariables
public const string BaseSlimDataUrlDefault = "http://{pod_name}.slimfaas.default.svc.cluster.local:3262/";


public const int SlimProxyMiddlewareTimeoutWaitWakeSyncFunctionMilliSecondsDefault = 20000;
public const int SlimProxyMiddlewareTimeoutWaitWakeSyncFunctionMilliSecondsDefault = 30000;

public const string TimeMaximumWaitForAtLeastOnePodStartedForSyncFunction =
"TIME_MAXIMUM_WAIT_FOR_AT_LEAST_ONE_POD_STARTED_FOR_SYNC_FUNCTION";
Expand Down
1 change: 0 additions & 1 deletion src/SlimFaas/SlimProxyMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ private async Task WaitForAnyPodStartedAsync(ILogger<SlimProxyMiddleware> logger
continue;
}
bool? isAnyContainerStarted = function.Pods.Any(p => p.Ready.HasValue && p.Ready.Value);
logger.LogDebug("WaitForAnyPodStartedAsync {FunctionName} isAnyContainerStarted: {IsAnyContainerStarted} EndpointReady: {EndpointReady}", functionName, isAnyContainerStarted, function.EndpointReady);
bool isReady = isAnyContainerStarted.Value && function.EndpointReady;
if (!isReady && !context.RequestAborted.IsCancellationRequested)
{
Expand Down

0 comments on commit a72b51d

Please sign in to comment.