-
Notifications
You must be signed in to change notification settings - Fork 305
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
feat: add task manager #490
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #490 +/- ##
==========================================
- Coverage 39.54% 39.18% -0.36%
==========================================
Files 82 85 +3
Lines 6352 6438 +86
==========================================
+ Hits 2512 2523 +11
- Misses 3476 3550 +74
- Partials 364 365 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: add func SendTask to struct Tasks Signed-off-by: 张哲溢 <zhangzheyi@zhangzheyideMacBook-Pro.local>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
* test: add unit test cases for marshal Signed-off-by: zzy987 <nevermind@sjtu.edu.cn>
Signed-off-by: Gaius <gaius.qi@gmail.com>
…y2 into feature/async-task
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: add unit test cases for marshal Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
…e/async-task Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
…e/async-task Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
…511) * chore: rename task to tasks Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: move convert redis host config into root.go Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: check task before serve Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: use go-playground/validator Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * fix: refactor round robin result, add time out Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: make timeout time and tick time consts Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: delete time out Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: rename convert Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: rename tasks Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: validate whole request struct Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: delete unused const Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: rename const Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * test: add unit test for convert Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com> * chore: resolve tasks package name Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
…#514) * chore: rename task to tasks Signed-off-by: zzy987 <67889264+zzy987@users.noreply.github.com>
244372610
reviewed
Jul 30, 2021
Signed-off-by: Gaius <gaius.qi@gmail.com>
…y2 into feature/async-task
…e/async-task Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
garfield009
approved these changes
Aug 3, 2021
244372610
approved these changes
Aug 3, 2021
gaius-qi
added a commit
that referenced
this pull request
Jun 28, 2023
* feat: add task manager Signed-off-by: Gaius <gaius.qi@gmail.com> Co-authored-by: zzy987 <67889264+zzy987@users.noreply.github.com>
e-ngo
pushed a commit
to e-ngo/dragonfly
that referenced
this pull request
Jan 23, 2025
Signed-off-by: Gaius <gaius.qi@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
Fixes #482
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: