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

Prevents execution of the timer #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pi-pi-miao
Copy link

因为select随机执行,这里加入判断,防止多次执行定时器内容

@pi-pi-miao
Copy link
Author

add case

@codecov
Copy link

codecov bot commented Jun 17, 2020

Codecov Report

Merging #7 into master will increase coverage by 0.57%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   90.84%   91.42%   +0.57%     
==========================================
  Files           3        3              
  Lines         404      408       +4     
==========================================
+ Hits          367      373       +6     
+ Misses         23       21       -2     
  Partials       14       14              
Impacted Files Coverage Δ
watcher.go 93.87% <100.00%> (+0.77%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97daad4...d4c6cf5. Read the comment docs.

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.

None yet

1 participant