Skip to content

chore(queue): auto scale the task worker #44

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 7 commits into from
Mar 27, 2022
Merged

chore(queue): auto scale the task worker #44

merged 7 commits into from
Mar 27, 2022

Conversation

appleboy
Copy link
Member

fix #43

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

fix #43

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

codecov-commenter commented Mar 27, 2022

Codecov Report

Merging #44 (d3c2e69) into master (4c2d646) will decrease coverage by 1.84%.
The diff coverage is 76.56%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   86.02%   84.18%   -1.85%     
==========================================
  Files          10       10              
  Lines         365      430      +65     
==========================================
+ Hits          314      362      +48     
- Misses         43       61      +18     
+ Partials        8        7       -1     
Flag Coverage Δ
go-1.13 ?
go-1.14 84.18% <76.56%> (-1.85%) ⬇️
go-1.15 84.18% <76.56%> (-1.85%) ⬇️
go-1.16 84.18% <76.56%> (-1.85%) ⬇️
go-1.17 84.18% <76.56%> (-1.85%) ⬇️
go-1.18 84.18% <76.56%> (-1.85%) ⬇️
ubuntu-latest 84.18% <76.56%> (-1.85%) ⬇️

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

Impacted Files Coverage Δ
worker_empty.go 22.22% <22.22%> (-2.78%) ⬇️
queue.go 82.69% <73.75%> (-6.10%) ⬇️
worker_message.go 88.00% <83.33%> (-2.00%) ⬇️
consumer.go 90.65% <100.00%> (+0.45%) ⬆️
worker_task.go 84.61% <100.00%> (+3.66%) ⬆️
logger.go 76.92% <0.00%> (ø)

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 4c2d646...d3c2e69. Read the comment docs.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 4def45e into master Mar 27, 2022
@appleboy appleboy deleted the auto branch March 27, 2022 14:54
@appleboy appleboy added the enhancement New feature or request label Mar 28, 2022
appleboy added a commit that referenced this pull request Mar 28, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto Scale the Worker
2 participants