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: support remove config changeListener #79

Closed
wants to merge 6 commits into from
Closed

feat: support remove config changeListener #79

wants to merge 6 commits into from

Conversation

rogerogers
Copy link

@rogerogers rogerogers commented Jul 20, 2022

Please provide issue(s) of this PR:
Fixes #73

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • Configuration

Please check any characteristics that apply to this pull request.

@chuntaojun
Copy link
Member

  • chan 类型的监听我认为是不是可以舍弃了?只保留一个 func 类型的监听 Listener

@rogerogers
Copy link
Author

  • chan 类型的监听我认为是不是可以舍弃了?只保留一个 func 类型的监听 Listener

确实两个场景差异不大,感觉可以考虑标记下弃用。

@chuntaojun
Copy link
Member

  • chan 类型的监听我认为是不是可以舍弃了?只保留一个 func 类型的监听 Listener

确实两个场景差异不大,感觉可以考虑标记下弃用。

看看是否可以单独提交一个ISSUE以及PR,把这个chan形式的监听移除?

chuntaojun
chuntaojun previously approved these changes Jul 20, 2022
@rogerogers
Copy link
Author

  • chan 类型的监听我认为是不是可以舍弃了?只保留一个 func 类型的监听 Listener

确实两个场景差异不大,感觉可以考虑标记下弃用。

看看是否可以单独提交一个ISSUE以及PR,把这个chan形式的监听移除?

好的,我看下。

@rogerogers
Copy link
Author

这么测试结果怎么看😂,好长。

lepdou
lepdou previously approved these changes Jul 21, 2022
@rogerogers rogerogers dismissed stale reviews from lepdou and chuntaojun via 8e5521c July 21, 2022 03:16
@chuntaojun
Copy link
Member

其他应该没什么问题,辛苦补一个单元测试吧

lepdou
lepdou previously approved these changes Jul 21, 2022
Copy link
Contributor

@lepdou lepdou left a comment

Choose a reason for hiding this comment

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

LGTM

@rogerogers
Copy link
Author

单元测试我要看下哦,之前配置貌似都没有单元测试。

@rogerogers
Copy link
Author

我先熟悉下这个测试包,这个跑得有点慢😂

@rogerogers
Copy link
Author

弃用提示也加上了,打开goland发现一个拼写错误,实在抱歉。

@rogerogers
Copy link
Author

#80

@rogerogers rogerogers closed this Jul 28, 2022
@rogerogers rogerogers deleted the feature-config-listener branch July 28, 2022 06:19
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.

How to remove a ChangeListener
3 participants