keyganker / keyganker.github.io

blog

Home Page:https://keyganker.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

springboot相关issue

keyganker opened this issue · comments

  1. springboot shutdown过程中(通过kill或者endpoint shutdown),新请求进来会报错,因为可能部分beans已经销毁了,解决方法就是先暂停接收新请求,然后再shutdown。官方issue,解决方案: springboot平滑shutdownspringboot平滑shutdown2