java - My docker container running my spring boot app on ec2 takes a long time to work after first api call - Stack Overflow

I have created a spring boot application, and I'm using github actions to dockerize the applicatio

I have created a spring boot application, and I'm using github actions to dockerize the application and deploy it onto my aws ec2 instance. It works most of the time however, if I close my computer and don't use my backend for a while, when I call it again the request times out. Then, it takes about 30 minutes to get working again. I am using a domain name and a loadbalancer to direct the https route to my spring boot application.

Any help would be highly appreciated !

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744276118a4566339.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信