-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update README.md #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Update README.md #178
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InheritableThreadLocal
springcloud 打成war包执行的时候,并不走EmbeddedServletContainerInitializedEvent这个事件,所以可以监听ApplicationReadyEvent事件,将ServerListener,InitService注入新的监听器中启动客户端。springcloud的端口号一般都会配置,所以可以从配置文件中获取。
Update ServerListener.java
应用初始化时若无法连接txmanager 将无法启动,但服务有可能已注册,有很大风险出现服务不可用-改为异步初始化 当 txmanager 连接失败时,退化到无分布式事务,原来是会抛异常
* 标示本服务是否是只读 * 若为true : 不会加入事务组; Connection 不会被 Wrap * 在本服务无DB操作或仅有查询时请配置 true 将提高性能 * 若应用都没有DB配置,此配置无意义不用设值
Tx lcn caisirius
--修改pom文件中的redis引用 --修改redis为集群使用 --添加RedisTemplateConfig.java
Springcloud 2.0.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.