Restarting AWS lambda function to clear cache

后端 未结 7 1683
你的背包
你的背包 2021-01-08 00:38

I have a AWS Lambda function that creates an object from a s3 call in cold start. I then hold the object in the cache while the function is warm to keep load times down. W

7条回答
  •  一生所求
    2021-01-08 01:07

    Currently, there is no way to force restarts on running Lambda containers.

    You can, however, redeploy the function so that it will start using new containers from that point onwards.

提交回复
热议问题