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

[feat]get sync value from context instead of directly from configuration file #257

Merged
merged 6 commits into from
Aug 20, 2022

Conversation

kkf1
Copy link
Contributor

@kkf1 kkf1 commented Aug 19, 2022

  • 当前通过配置控制是否产生同步任务,会导致service层的依赖方只要调用此方法都会产生同步任务
  • 实际需求是,只有resource层下发的操作才需要产生同步任务,故改为通过context传值判断

server/service/kv/kv_svc.go Outdated Show resolved Hide resolved
@little-cui little-cui changed the title get sync value from context instead of directly from configuration file [feat]get sync value from context instead of directly from configuration file Aug 20, 2022
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.

3 participants