fix locking on generic list and set fetching, decrease dataloader batch size, test.

This commit is contained in:
fiatjaf
2025-01-17 17:39:24 -03:00
parent 3e1c0ddc7e
commit 3fd33ce281
7 changed files with 83 additions and 26 deletions

View File

@@ -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)
}
}