Skip to content

Make MAX_GROUPING_TOKENS can be set outside of grouping.py #841

Description

@dnqbob

MAX_GROUPING_TOKENS helps on DDOS, but there is situation that I just want to run it offline for test purpose, which needs more than 10000.

It is better that we can set MAX_GROUPING_TOKENS in our own module, like what we set the recursion limit by using sys like

sys.setrecursionlimit(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions