Skip to content

服务发现 服务异常时 使用缓存的数据#4

Open
xcwen wants to merge 1 commit intoTarsPHP:masterfrom
xcwen:master
Open

服务发现 服务异常时 使用缓存的数据#4
xcwen wants to merge 1 commit intoTarsPHP:masterfrom
xcwen:master

Conversation

@xcwen
Copy link
Copy Markdown

@xcwen xcwen commented Jun 13, 2020

由于 当前 请求 tars.tarsregistry.QueryObj 服务 随机请求一个, 如果其中一个有异常 , 就会返回空.
改造成 返回 缓存数据. 达到高可用.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant