You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.
OnShutDown 是注册的方法,顺序并发调用,如果退出的方法存在依赖关系,如何处理呢?是否并发,决定权是否交于配置决定
使用场景:项目启动 onRun加载redis, 分布式ID (依赖redis),数据库(依赖分布式ID),退出时,先关闭数据库, 再关分布式ID,再关redis,这都是有顺序要求,目前只能注册一个OnShutDown,在这方法中依赖上述的逻辑进行关闭,感觉不太优雅
The text was updated successfully, but these errors were encountered: