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

Could not create ruleset: 106 #377

Open
25julia opened this issue May 27, 2021 · 0 comments
Open

Could not create ruleset: 106 #377

25julia opened this issue May 27, 2021 · 0 comments

Comments

@25julia
Copy link

25julia commented May 27, 2021

Hi there,
first of all thanks a lot for this amazing library, it works quite well on a small number of rules. However, when I and my colleagues were testing it for a big number of rules (let's say thousands of them) we ran into the problem of 'Could not create ruleset, error code: 106'.
We are trying to tweak it with some other values for bucket_length, next_list_length, and beta_list_length because we have a scenario where we want the rules in the same ruleset, so something like:
#define NEXT_BUCKET_LENGTH 16384
#define NEXT_LIST_LENGTH 4096
#define BETA_LIST_LENGTH 8192
We would really like to know if there is any particular reason why you were keeping these numbers at such a low threshold.
Would really appreciate it if you could get back to us.

Error reference: self._handle = durable_rules_engine.create_ruleset(name, json.dumps(ruleset_definition, ensure_ascii=False))
durable_rules_engine.error: Could not create ruleset, error code: 106

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