laywin commented on issue #6223:
URL: 
https://github.com/apache/incubator-seata/issues/6223#issuecomment-1879907369

   我看了一下, https://github.com/apache/incubator-seata/pull/3991 这个问题实际在 
1.5.x的版本里面没了,原因是在1.4.x的版本里面, SpringBootConfigurationProvider 有一个操作会去getBean, 
这个操作在容器关闭的时候会报错. 不过还是加上了 在 收到 ContextClosedEvent 时候 去设置 file.listener.enabled 
变量的操作,原因在于尽可能快的推出fileListener拉取配置的操作.
   
   I took a look and found that the problem #3991 is actually gone in version 
1.5.x. The reason is that in version 1.4.x, SpringBootConfigurationProvider has 
an operation to getBean, which will report an error when the container is 
closed. It is still added to set the file.listener.enabled variable when 
receiving the ContextClosedEvent. The reason is that it is necessary to quickly 
launch the fileListener pull configuration operation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to