Skip to content
Merged
Prev Previous commit
Next Next commit
More logging and sleep
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Mar 7, 2022
commit 2e87f4ebe43e6ac93a900f6306e2fa40564e2061
2 changes: 2 additions & 0 deletions sdk/python/feast/infra/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def _deploy_feature_server(self, project: str, image_uri: str):
lambda_client = boto3.client("lambda")
api_gateway_client = boto3.client("apigatewayv2")
function = aws_utils.get_lambda_function(lambda_client, resource_name)
_logger.info("Using function name: %s", resource_name)
_logger.info("Found function: %s", function)

if function is None:
# If the Lambda function does not exist, create it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _get_online_features_dict_remotely(
if response.get("message") != "Internal Server Error":
break
# Sleep between retries to give the server some time to start
time.sleep(5)
time.sleep(15)
else:
raise Exception("Failed to get online features from remote feature server")
if "metadata" not in response:
Expand Down