diff --git a/demo/deployment-slimfaas.yml b/demo/deployment-slimfaas.yml index 4f77b909..e9d773b3 100644 --- a/demo/deployment-slimfaas.yml +++ b/demo/deployment-slimfaas.yml @@ -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 diff --git a/src/SlimFaas/EnvironmentVariables.cs b/src/SlimFaas/EnvironmentVariables.cs index 0807046c..3f39c03f 100644 --- a/src/SlimFaas/EnvironmentVariables.cs +++ b/src/SlimFaas/EnvironmentVariables.cs @@ -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"; diff --git a/src/SlimFaas/SlimProxyMiddleware.cs b/src/SlimFaas/SlimProxyMiddleware.cs index 4ceaddee..ef99504e 100644 --- a/src/SlimFaas/SlimProxyMiddleware.cs +++ b/src/SlimFaas/SlimProxyMiddleware.cs @@ -445,7 +445,6 @@ private async Task WaitForAnyPodStartedAsync(ILogger 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) {