-
Notifications
You must be signed in to change notification settings - Fork 12
fix: Add classes to clean-up Spider's internal Data, Driver, and Job objects from the database when clients destroy the corresponding client objects (fixes #135). #136
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
27 commits
Select commit
Hold shift + click to select a range
fc29d22
Add destructor for data and consolidate the sources into one
sitaowang1998 fcd1b2b
Add DataCleaner class and the unique_ptr to it to work around moved o…
sitaowang1998 ad26bc3
Fix clang tidy
sitaowang1998 c18dff5
Fix clang tidy
sitaowang1998 c3636ad
Add JobCleaner
sitaowang1998 298afc5
Add remove driver function
sitaowang1998 0d24db8
Add tests for driver removal
sitaowang1998 12f23bd
Add driver cleaner
sitaowang1998 c05aa6b
Add driver cleaner
sitaowang1998 7d542b3
Add cleanup in tests
sitaowang1998 eb5b41a
Fix clang tidy
sitaowang1998 f5eb730
Remove wrong include-guarde footer
sitaowang1998 77c3123
Delete copy constructor and assignment operator for cleaners
sitaowang1998 05b8554
Fix the wrong comment
sitaowang1998 d3700d7
Add noexcept to remove functions in storage
sitaowang1998 9a7d001
Add noexcept for destructors
sitaowang1998 5b28bdd
Remove debug printf
sitaowang1998 c0615a4
Merge branch 'main' into driver_gc
sitaowang1998 0730338
Reorder storage functions and remove docstring
sitaowang1998 b871681
Improve docstring for the cleaner classes
sitaowang1998 53ebba2
Reformat src/spider/client/Data.hpp
sitaowang1998 3656fa7
Fix clang tidy
sitaowang1998 9e1c7a8
Merge branch 'driver_gc' of github.com:sitaowang1998/spider into driv…
sitaowang1998 cabccdd
Remove unnecessary comment
sitaowang1998 6ebfa8f
Improve docstring
sitaowang1998 8838d38
Add exception count in cleaner docstring
sitaowang1998 0fb0506
Fix relative include header
sitaowang1998 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
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.