ppgravitee / issuesforjiramig

Gravitee.io - API Platform - Issues
0 stars 0 forks source link

Retrieve user's tasks seems quite long #31

Open ppgravitee opened 2 years ago

ppgravitee commented 2 years ago

With a user having access to a large number of Apis, retrieving the user's tasks can be quite long (call to /tasks endpoint of the rest api).

Here is an example of behavior on our latest branch (3.18.0-SNAPSHOT) on our master environment.

I've made some other tests on a local environment with an admin user and ~400 apis, it takes more than 1s to get the user's tasks.

It clearly depends on the number of apis the user has access to. Also, it seems depend on the type of user, whether it is an admin or a regular user with a couple of roles and permissions.