Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase members limit ? #143

Open
severecold opened this issue Sep 28, 2023 · 0 comments
Open

increase members limit ? #143

severecold opened this issue Sep 28, 2023 · 0 comments

Comments

@severecold
Copy link

severecold commented Sep 28, 2023

[ agents\tracer\agent.ts ]

Is it feasible to increase the members limit (1000) ?
I got crash after raising it to 2000+, Is there anything else that needs to be changed?

// async function getHandlers

    let size = 0;
    for (const { name, members: pendingMembers } of pendingScopes) {
        const curMembers: MemberName[] = [];
        curScopes.push({
            name,
            members: curMembers
        });

        let exhausted = false;
        for (const member of pendingMembers) {
            curMembers.push(member);

            size++;
            if (size === 1000) {
                exhausted = true;
                break;
            }
        }
        if (exhausted) {
            break;
        }
    }

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant