activitypods / activitypods/activitypods

TypeIndex creation is slow

Open
#308 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
260
Forks
24
PR merge metrics
No merged PRs in 30d

Description

This is probably because we go through every acceptedTypes of the controlled container:

https://github.com/assemblee-virtuelle/semapps/blob/master/src/middleware/packages/solid/services/type-index/type-indexes.js#L127

For a container like `/as/activity`, this means we call the `type-registrations.register` action 20 times.

Maybe we could improve this action to take several types at the same time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.