Skip to content

Commit 78803a1

Browse files
authored
lambda: prevent concurrent healthchecks reaching weblogs (#5832)
1 parent 6e7c584 commit 78803a1

File tree

1 file changed

+5
-1
lines changed
  • utils/build/docker/lambda_proxy

1 file changed

+5
-1
lines changed

utils/build/docker/lambda_proxy/main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ def invoke_lambda_function_application_load_balancer_multi_value_headers():
167167
("/", ["GET", "POST", "OPTIONS"]),
168168
("/finger_print", ["GET"]),
169169
("/headers", ["GET"]),
170-
("/healthcheck", ["GET"]),
171170
("/external_request", ["GET", "POST", "PUT", "TRACE"]),
172171
("/params/<path>/", ["GET", "POST", "OPTIONS"]),
173172
("/session/new", ["GET"]),
@@ -192,3 +191,8 @@ def invoke_lambda_function_application_load_balancer_multi_value_headers():
192191
lambda **kwargs: lambda_invoker(),
193192
methods=methods,
194193
)
194+
195+
196+
@app.get("/healthcheck")
197+
def healthcheck():
198+
return "Ok"

0 commit comments

Comments
 (0)