-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: NodeInfo memory usage optimization when using MongoDB #800
Conversation
eda13cc
to
22f39cc
Compare
Codecov Report
@@ Coverage Diff @@
## main #800 +/- ##
==========================================
- Coverage 89.92% 89.91% -0.02%
==========================================
Files 141 141
Lines 12032 12154 +122
==========================================
+ Hits 10820 10928 +108
- Misses 747 758 +11
- Partials 465 468 +3
Continue to review full report at Codecov.
|
18cc016
to
ee02723
Compare
f6397a7
to
821d272
Compare
@@ -83,7 +83,8 @@ func (h *handler) handleCreateActivity(create *vocab.ActivityType) error { | |||
|
|||
logger.Debugf("[%s] Storing anchor credential reference [%s]", h.ServiceName, target.Object().ID()) | |||
|
|||
err := h.store.AddReference(store.AnchorCredential, target.Object().ID().URL(), h.ServiceIRI) | |||
err := h.store.AddReference(store.AnchorCredential, target.Object().ID().URL(), h.ServiceIRI, | |||
store.WithActivityType(create.Type().Types()[0])) |
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.
This isn't a Create type. We shouldn't have a tag here.
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.
Fixed
Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
821d272
to
a477636
Compare
Signed-off-by: Derek Trider Derek.Trider@securekey.com