-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(redis): change Redis Architecture (#57)
* chore: go mod tidy -v * style: remove blank line * chore: do not name stash * chore(integration): change git stash in build-integration * fix(integration): fix makefile * fix(integration): git stash * feat(redis): set to nil when ExploitUniqueID is not filled * fix: fix panic error * feat(redis): fix unimplemented parts * feat(redis): change redis architecture * chore: add const fetchMetaKey * feat(redis): add batch size option * chore: check batch-size * chore: do not name stash * refactor(db): GetExploitAll fast and safe * feat(redis): change from SMembers to SScan to avoid blocking server * chore: remove unnecessary arg * feat(redis): update Redis Architecture * feat(redis): update Redis Architecture * fix(redis): insert error * fix(redis): fix get * fix(fetcher): change ExploitUniqueID to searchable * fix(fetcher): use base64.URLEncoding * feat(models): remove unnecessary ExploitUniqueID * fix(fetcher): use MD5 instead of base64.URLEncoding * feat(redis): use pipeline in Get * fix(redis): fix IsExploitModelV1 * style: fix log msg * chore: use smembers * feat(redis): use Hash * style: change bar.Finish timing * refactor(redis): map exists check * chore: delete ExploitUniqueID field explicitly * chore: delete ExploitUniqueID field explicitly * style: add comment * fix(redis): skip if cveid is empty string * feat(redis): change redis key * chore: add slice len check * chore(redis): update Get * chore(integration): update test * chore(integration): move to integration/.gitignore * chore: change integration/.gitignore
- Loading branch information
Showing
23 changed files
with
50,164 additions
and
52,350 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,4 @@ vendor/ | |
*.sqlite3-shm | ||
*.sqlite3-wal | ||
go-exploitdb | ||
|
||
.vscode |
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
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
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
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
Oops, something went wrong.