MCPcopy Index your code
hub / github.com/zappa/Zappa / keep_warm_callback

Function keep_warm_callback

zappa/handler.py:1003–1006  ·  view source on GitHub ↗

Method is triggered by the CloudWatch event scheduled when keep_warm setting is set to true.

(event, context)

Source from the content-addressed store, hash-verified

1001
1002
1003def keep_warm_callback(event, context):
1004 """Method is triggered by the CloudWatch event scheduled when keep_warm setting is set to true."""
1005 lambda_handler(event={}, context=context) # overriding event with an empty one so that web app initialization will
1006 # be triggered.
1007
1008
1009global_handler = None

Callers

nothing calls this directly

Calls 1

lambda_handlerFunction · 0.70

Tested by

no test coverage detected