From 7e09db2e3acdbca09237d90acd926a23d56e6002 Mon Sep 17 00:00:00 2001 From: Brianna Becker Date: Tue, 19 Mar 2024 16:57:12 +0100 Subject: [PATCH] Filter users for quicker load --- plugins/gitlab-catalog-backend/src/GitlabUserProcessor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gitlab-catalog-backend/src/GitlabUserProcessor.ts b/plugins/gitlab-catalog-backend/src/GitlabUserProcessor.ts index 38a20be..5f8d3b5 100644 --- a/plugins/gitlab-catalog-backend/src/GitlabUserProcessor.ts +++ b/plugins/gitlab-catalog-backend/src/GitlabUserProcessor.ts @@ -58,6 +58,8 @@ export class GitlabUserProcessor implements CatalogProcessor { try { members = await this.gitlab!.Users.all({ perPage: GITLAB_PER_PAGE_LIMIT, + active: true, + withoutProjectBots: true, }); } catch (error) { this.logger.error(`Error loading gitlab users: ${error}`);