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

fix(worker): don't start request task #60

Merged
merged 2 commits into from
Apr 3, 2022
Merged

fix(worker): don't start request task #60

merged 2 commits into from
Apr 3, 2022

Conversation

appleboy
Copy link
Member

@appleboy appleboy commented Apr 3, 2022

check worker count is zero or not before fetch the task.

fix #59

Signed-off-by: Bo-Yi Wu appleboy.tw@gmail.com

check worker count is zero or not before fetch the task.

fix #59

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2022

Codecov Report

Merging #60 (2320d46) into master (1a06aab) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   88.47%   88.55%   +0.08%     
==========================================
  Files          10       10              
  Lines         425      428       +3     
==========================================
+ Hits          376      379       +3     
  Misses         44       44              
  Partials        5        5              
Flag Coverage Δ
go-1.13 88.55% <100.00%> (+0.08%) ⬆️
go-1.14 88.55% <100.00%> (+0.08%) ⬆️
go-1.15 88.55% <100.00%> (+0.08%) ⬆️
go-1.16 88.55% <100.00%> (+0.08%) ⬆️
go-1.17 88.55% <100.00%> (+0.08%) ⬆️
go-1.18 88.55% <100.00%> (+0.08%) ⬆️
ubuntu-latest 88.55% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
queue.go 95.29% <100.00%> (+0.08%) ⬆️

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 1a06aab...2320d46. Read the comment docs.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 8d75d3e into master Apr 3, 2022
@appleboy appleboy deleted the bugs3 branch April 3, 2022 04:36
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.

Check worker count before start request task.
2 participants