Skip to content

Commit b5b4650

Browse files
committed
refactor: adjust batch size for user config generation stream
1 parent 8bbd131 commit b5b4650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/users/repositories/users.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ export class UsersRepository implements ICrud<UserEntity> {
623623
public async *getUsersForConfigStream(
624624
excludedInbounds: InboundsEntity[],
625625
): AsyncGenerator<UserForConfigEntity[]> {
626-
const BATCH_SIZE = 25_000;
626+
const BATCH_SIZE = 15_000;
627627
let offset = 0;
628628
let hasMoreData = true;
629629

0 commit comments

Comments
 (0)