Skip to content

Commit 40f4edb

Browse files
Copilotrvanoord
andauthored
chore: reduce group fetch batch size from 1000 to 500
Agent-Logs-Url: https://github.com/bcc-code/bcc-wp/sessions/87e26907-53f9-414f-b3e7-f0b53d00c6ad Co-authored-by: rvanoord <1876625+rvanoord@users.noreply.github.com>
1 parent 1a980f3 commit 40f4edb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/bcc-login/includes/class-bcc-coreapi-client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function fetch_groups($group_uids) {
107107

108108
$qry = json_encode($qry);
109109

110-
$limit = 1000;
110+
$limit = 500;
111111
$offset = 0;
112112
$all_data = [];
113113

@@ -159,7 +159,7 @@ function fetch_groups_by_tag($tag) {
159159

160160
$qry = json_encode($qry);
161161

162-
$limit = 1000;
162+
$limit = 500;
163163
$offset = 0;
164164
$all_data = [];
165165

0 commit comments

Comments
 (0)