-
Notifications
You must be signed in to change notification settings - Fork 24
feat(cmd): execute commands in task pool #110
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
db1723c
add a src for handler
flaneur2020 43d234b
rename as cmd executor
flaneur2020 0decb3f
tune the command
flaneur2020 3090623
add mpmc channel
flaneur2020 fc0692e
add scaffold for workers
flaneur2020 5f83a2f
add the scaffold
flaneur2020 04f5de8
fix
flaneur2020 b15b00a
add cancellation_token
flaneur2020 c38abf6
add run_worker
flaneur2020 90836e4
handle cancellation_token in run_worker
flaneur2020 ec73cbb
add logs over worker
flaneur2020 409c733
tune the log
flaneur2020 f505204
add close()
flaneur2020 66d3cb5
fix build
flaneur2020 6f0356c
fix build
flaneur2020 e90fe7b
allow client to pass across tasks
flaneur2020 f997ab9
wrap Arc over client
flaneur2020 448592a
fix build
flaneur2020 029541a
feat: add runtime support to executor with worker threads
flaneur2020 9b38317
tune the comment
flaneur2020 1820c9a
tune the comment
flaneur2020 bc92292
add a test cae
flaneur2020 1fbf5b4
fix locking in Client
flaneur2020 404e7c8
add Default
flaneur2020 bcabd55
ehance the comment
flaneur2020 88f2e1b
fix
flaneur2020 4acd3c9
chore rename
flaneur2020 5c37b4c
add todo
flaneur2020 a677275
check the ls
flaneur2020 595b939
fix execute()
flaneur2020 8fe859c
merge origin/main
flaneur2020 0fa409a
cargo fmt
flaneur2020 5442c5e
fix license header
flaneur2020 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guard against argv underflow to avoid panic
argv[1]
indexing will panic on malformed or short requests. Return an error and short-circuit when arity is not satisfied.Apply:
📝 Committable suggestion
🤖 Prompt for AI Agents