Skip to content
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

Pick latest routes from cache or resource #138

Merged
merged 2 commits into from
Jun 14, 2020
Merged

Conversation

daydayfree
Copy link
Contributor

No description provided.

* 从本地缓存或预置的资源中初始化 routes,如果两者都存在,比较 routes 版本,优先使用高版本 routes
* 如果本地缓存中的 routes 版本较小,则自动清理掉。
*/
- (void)_rxr_initializeRoutesFromLocalFiles
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该也遵循 needsIgnoreRoutesVersion 吧

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个参数主要解决本地和远程同一个版本的情况,本地内部之间不应该有这样的逻辑。

@hao-feng hao-feng merged commit 6ff06bf into douban:master Jun 14, 2020
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.

2 participants