fix locking on generic list and set fetching, decrease dataloader batch size, test.
This commit is contained in:
@@ -122,7 +122,7 @@ func (sys *System) FetchProfileMetadata(ctx context.Context, pubkey string) (pm
|
||||
pm, _ = ParseMetadata(evt)
|
||||
|
||||
// save on store even if the metadata json is malformed
|
||||
if sys.StoreRelay != nil && pm.Event != nil {
|
||||
if pm.Event != nil {
|
||||
sys.StoreRelay.Publish(ctx, *pm.Event)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user